kernel
July 22, 2008, 10:36am
1
Hi,
i am booting CS-e9302 from USB memory has Debian rootfs.
how can i connect board to internet to install packages. I want to connect the board to Ethernet cable directly to my DSL modem, and give commands via serial cable to the board using (hyperterminal).
what r the configurations i need??
thanks
denial
July 22, 2008, 3:03pm
2
What protocol is used by your ISP?
Is it raw IP (possibly with DHCP) or do you need PPPoE?
kernel
July 23, 2008, 12:52am
3
Hi,
how can i know that?
here is my eth0 details:
http://i276.photobucket.com/albums/kk5/ … titled.jpg
regards
kernel
July 25, 2008, 3:46pm
4
hi denial,
i found that my connection is DHCP.
any hints now?
thanks
FPGA
July 25, 2008, 8:29pm
5
first of all you need connection to your network… use:
ethernet switch or 2) second network card + linux software ethernet bridge
I use variant 2)
then on your board execure command:
route add default gw
get default route from your screenshot (81.98.96.1)
then open file /etc/resolv.conf and add lines:
nameserver
nameserver
where DNS IP address get from your screenshot
and then configure IP address of your board:
ifconfig eth0 netmask up
I dont know correct IP address in your situation =(
in my case:
netmask 255.255.255.0
ip address 192.168.0.20 on board, main computer 192.168.0.1, router IP - 192.168.0.5
I use my router IP as default gw… and this works FINE :)))
I’m also using Debian and it allows me to install *.deb packages from internet
Hi FPGA,
can it be done wothout switch or bridge, i mean connect the board directly to my modem?
thanks
FPGA
July 25, 2008, 10:37pm
7
raedbenz:
Hi FPGA,
can it be done wothout switch or bridge, i mean connect the board directly to my modem?
thanks
YES, of course
It can be connected in ANY way
If you can connect your computer to internet => your Linux computer/board also can do that
kernel
July 26, 2008, 9:36pm
8
Hi,
i did all the steps. (connecting ethernet from my modem to board directly)
but in the beginning when :
cs-e9302:~# route add default gw 81.98.96.1
SIOCADDRT: Network is unreachable
any hints?
FPGA:
and then configure IP address of your board:
ifconfig eth0 netmask up
I dont know correct IP address in your situation =(
how could i know mine? is it different than 81.98.99.175 (according to image when connected to PC)
at the end i tried to ping:
cs-e9302:/etc# ping -c 2 www.google.com
ping: unknown host www.google.com
any hints?
Thanks
FPGA
July 28, 2008, 7:38am
9
Just search internet about configuring network in Linux…
Your questions is not about internet on cs-ep9302 - your question just about Linux…
kernel
July 29, 2008, 4:57pm
10
Hi,
the cable should be straight or cross over?
when i plug the cable (straight) into board from modem directly: the green and orange leds tutn on, then i type:
cs-e9302:/# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:DE:AD:B0:05:00
inet6 addr: fe80::2de:adff:feb0:500/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:6 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:39
and
cs-e9302:/# dmesg | grep -i Eth
drivers/net/usb/catc.c: v2.8 CATC EL1210A NetMate USB Ethernet driver
drivers/net/usb/rtl8150.c: rtl8150 based usb-ethernet driver v0.6.2 (2004/08/27)
Driver 'sd' needs updating - please use bus_type methods
Using buffer write method
eth0: No network cable detected!
how come?
thanks
lou
July 29, 2008, 5:50pm
11
kernel:
Hi,
the cable should be straight or cross over?
when i plug the cable (straight) into board from modem directly: the green and orange leds tutn on
eth0: No network cable detected!
Use the cable that came with your cable modem. Those are usually (straight or crossed) the right one to connect to a PC, and your board is probably the same.
“No network cable detected!” tends to mean that you’ve got the wrong cable. Since you’re using a straight one, that means you need a crossed one.
Generally, straight cables are only good for going between a node and a hub/switch/router. Going between two ports of the same type (such as between two hosts) requires a crossover. A cable modem could be wired either way. In this case, it appears your cable modem may be wired like a host is.