* How use FTP on serial port(COM1)?
@ 2003-03-17 2:50 guo_zhenglin
2003-03-17 7:46 ` Jörn Engel
0 siblings, 1 reply; 6+ messages in thread
From: guo_zhenglin @ 2003-03-17 2:50 UTC (permalink / raw)
To: linux-mtd
I have a question,I need your help.
1)my target board has not ethernet card, only has a
serial port (COM1) .
2)in order to update or maintenance targetboard's linux system
and application system,I want to use FTP or TFTP via COM1.
3)I had config linux kernel :
CONFIG_PPP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPPOE=y
4) I place "tftp" file in "/bin" directory and "services" file in "/etc"
directory.
have "tftp 69/udp" in "services" file.
5) when I run "tftp" on target board, show
"tftp: udp/tftp: unknow service"
6) what are I still need to config or add ?
need "pppd"?
thanks in advance.
------------------------------
guo zhenglin
E-mail: guo_zl9 at hotmail.com
------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* How use FTP on serial port(COM1)?
2003-03-17 2:50 How use FTP on serial port(COM1)? guo_zhenglin
@ 2003-03-17 7:46 ` Jörn Engel
2003-03-17 10:00 ` Jörn Engel
0 siblings, 1 reply; 6+ messages in thread
From: Jörn Engel @ 2003-03-17 7:46 UTC (permalink / raw)
To: linux-mtd
On Mon, 17 March 2003 10:50:09 +0800, guo_zhenglin wrote:
>
> 1)my target board has not ethernet card, only has a
> serial port (COM1) .
Do you mean _one_ serial port? In that case, you can have either
serial console or network over it, not both.
> 2)in order to update or maintenance targetboard's linux system
> and application system,I want to use FTP or TFTP via COM1.
>
> 3)I had config linux kernel :
> CONFIG_PPP=y
> CONFIG_PPP_ASYNC=y
> CONFIG_PPPOE=y
PPPOE is unnecessary. Maybe some more options are needed, will check
that at work...
J?rn
--
Beware of bugs in the above code; I have only proved it correct, but
not tried it.
-- Donald Knuth
^ permalink raw reply [flat|nested] 6+ messages in thread
* How use FTP on serial port(COM1)?
2003-03-17 7:46 ` Jörn Engel
@ 2003-03-17 10:00 ` Jörn Engel
2003-03-18 9:40 ` guo_zhenglin
0 siblings, 1 reply; 6+ messages in thread
From: Jörn Engel @ 2003-03-17 10:00 UTC (permalink / raw)
To: linux-mtd
On Mon, 17 March 2003 08:46:41 +0100, J?rn Engel wrote:
> On Mon, 17 March 2003 10:50:09 +0800, guo_zhenglin wrote:
> >
> > 3)I had config linux kernel :
> > CONFIG_PPP=y
> > CONFIG_PPP_ASYNC=y
> > CONFIG_PPPOE=y
>
> PPPOE is unnecessary. Maybe some more options are needed, will check
> that at work...
We have the following options set for one of our boxes. MULTILINK,
DEFLATE and BSDCOMP shouldn't be necessary, though.
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_ASYNC=y
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
J?rn
--
Data expands to fill the space available for storage.
-- Parkinson's Law
^ permalink raw reply [flat|nested] 6+ messages in thread
* How use FTP on serial port(COM1)?
2003-03-17 10:00 ` Jörn Engel
@ 2003-03-18 9:40 ` guo_zhenglin
2003-03-18 9:56 ` Henrik Nordstrom
0 siblings, 1 reply; 6+ messages in thread
From: guo_zhenglin @ 2003-03-18 9:40 UTC (permalink / raw)
To: linux-mtd
I don't know how to config network (ftp) on MBX860 board,
please help me.
1) our finally product is ourself-design board.
the designer say no Ethernet port,
and only has ONE serial port used to maintenance and update system.
this board has not manufactured.
2) Our company has a DEMO board , it is motorola's MBX860 board.
MBX860 board has a Ethernet port (SCC1).
now I can test something about network on MBX860 board.
3) firstly I want to use ftp on MBX860 board via ethernet port(SCC1).
if this success,then
secondly, I TRY to use ftp on MBX860 board via serial port (COM1).
if must need TWO serial ports ,
I can advice the designer to add another serial port.
lastly ,I can use ftp on ourself-design board via serial port(COM1 or
COM2).
4) but I don't know how to config network (ftp) on MBX860 board,
counld you help me ?
thank you very much.
could I need modify "/etc/sysconfig/network-scripts" ,"/sbin/ifuup" ?
5) my linux kernel :2.4.4.
CROSS_COMPILE: ppc_8xx-gcc (v2.95)
6) linux can boot from MBX860 board ,and show messages :
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
Sending BOOTP requests.... OK
IP-Config: Got BOOTP answer from 192.168.1.252, my address is
192.168.1.1
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
------------------------------
guo zhenglin
E-mail: guo_zl9 at hotmail.com
------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* How use FTP on serial port(COM1)?
2003-03-18 9:40 ` guo_zhenglin
@ 2003-03-18 9:56 ` Henrik Nordstrom
2003-03-18 10:19 ` guo_zhenglin
0 siblings, 1 reply; 6+ messages in thread
From: Henrik Nordstrom @ 2003-03-18 9:56 UTC (permalink / raw)
To: linux-mtd
tis 2003-03-18 klockan 10.40 skrev guo_zhenglin:
> I don't know how to config network (ftp) on MBX860 board,
> please help me.
>
> 1) our finally product is ourself-design board.
> the designer say no Ethernet port,
> and only has ONE serial port used to maintenance and update system.
> this board has not manufactured.
Then you should probably use a serial file transfer protocol such as
Z-Modem. This would allow you to use the same serial port as both
console and to transfer upgrades.
> 2) Our company has a DEMO board , it is motorola's MBX860 board.
> MBX860 board has a Ethernet port (SCC1).
> now I can test something about network on MBX860 board.
The you need to figure our what kind of chipset is used for the ethernet
port, and load the corresponding kernel driver. When this is done
configure the interface with the ifconfig command or the ip command.
> 6) linux can boot from MBX860 board ,and show messages :
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 1024 bind 1024)
> Sending BOOTP requests.... OK
> IP-Config: Got BOOTP answer from 192.168.1.252, my address is
> 192.168.1.1
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Then it seems your network driver is already configured on the board and
you have set it up to use automatic IP configuration via BOOTP which was
successful. All you need now is to talk to it over the network, and to
start the needed network daemons on the board if you want to be able to
connect to the board from your network.. (connecting from the board to
your network should already work).
--
Henrik Nordstrom <hno@marasystems.com>
MARA Systems AB
^ permalink raw reply [flat|nested] 6+ messages in thread
* How use FTP on serial port(COM1)?
2003-03-18 9:56 ` Henrik Nordstrom
@ 2003-03-18 10:19 ` guo_zhenglin
0 siblings, 0 replies; 6+ messages in thread
From: guo_zhenglin @ 2003-03-18 10:19 UTC (permalink / raw)
To: linux-mtd
thanks very much!
I try it .
----- Original Message -----
From: "Henrik Nordstrom" <hno@marasystems.com>
To: "guo_zhenglin" <guo_zl9@hotmail.com>
Cc: <linux-mtd@lists.infradead.org>
Sent: Tuesday, March 18, 2003 5:56 PM
Subject: Re: How use FTP on serial port(COM1)?
> tis 2003-03-18 klockan 10.40 skrev guo_zhenglin:
> > I don't know how to config network (ftp) on MBX860 board,
> > please help me.
> >
> > 1) our finally product is ourself-design board.
> > the designer say no Ethernet port,
> > and only has ONE serial port used to maintenance and update system.
> > this board has not manufactured.
>
> Then you should probably use a serial file transfer protocol such as
> Z-Modem. This would allow you to use the same serial port as both
> console and to transfer upgrades.
>
> > 2) Our company has a DEMO board , it is motorola's MBX860 board.
> > MBX860 board has a Ethernet port (SCC1).
> > now I can test something about network on MBX860 board.
>
> The you need to figure our what kind of chipset is used for the ethernet
> port, and load the corresponding kernel driver. When this is done
> configure the interface with the ifconfig command or the ip command.
>
> > 6) linux can boot from MBX860 board ,and show messages :
> > NET4: Linux TCP/IP 1.0 for NET4.0
> > IP Protocols: ICMP, UDP, TCP, IGMP
> > IP: routing cache hash table of 512 buckets, 4Kbytes
> > TCP: Hash tables configured (established 1024 bind 1024)
> > Sending BOOTP requests.... OK
> > IP-Config: Got BOOTP answer from 192.168.1.252, my address is
> > 192.168.1.1
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
>
> Then it seems your network driver is already configured on the board and
> you have set it up to use automatic IP configuration via BOOTP which was
> successful. All you need now is to talk to it over the network, and to
> start the needed network daemons on the board if you want to be able to
> connect to the board from your network.. (connecting from the board to
> your network should already work).
>
> --
> Henrik Nordstrom <hno@marasystems.com>
> MARA Systems AB
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-03-18 10:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-17 2:50 How use FTP on serial port(COM1)? guo_zhenglin
2003-03-17 7:46 ` Jörn Engel
2003-03-17 10:00 ` Jörn Engel
2003-03-18 9:40 ` guo_zhenglin
2003-03-18 9:56 ` Henrik Nordstrom
2003-03-18 10:19 ` guo_zhenglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox