LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-30-2004, 06:55 AM   #1
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Rep: Reputation: 30
internet through adsl router


HI all, I've got a zoom X5 adsl modem/router (eth and usb interfaces) and have been trying to get it up my linux box to connect without much luck.

I've connected everything up (cables etc) and everything seems to be working but I can't get on the net.

i used netconfig to set up my ethernet card (sis900, onboardd) and that seemed to go ok, I selected use DHCP

if I ping the address of the router (10.0.0.2) i see that the lan light flashes on the router, indicating that it is recieving packets from the network card ok but I get 100% packet loss.

if I do an ifconfig eth0 i see that the network card has been assigned an ip of 10.0.0.11 (which would seem to indicate that the DHCP is working ok?) and indeed I can ping 10.0.0.11 ok.

I've also tried setting the ip address, gateway etc manually in netconfig to the right values but still no joy.

does anyone have any ideas?

Oh, I did notice one more thing that struck me as odd - in ifconfig it says the physical address of the network card is FF-FF-FF-FF-FF-FF !?!

incidentally I have been unable to get it to work in windoze either (and get exactly the same symptoms). before you say it, the problem most definitely isn't the router - its brand new, and I also get the same problems on 2 other routers I've tried.

any help would be really appreciated
 
Old 09-30-2004, 08:33 AM   #2
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
When you installed Slack 10 did you choose the auto DHCP in the installation menu? Also the router should have DHCP enabled. The only other thing I can think of it that usually we don't use 10.x.x.x for local private networks, rather 192.168.x.x. What happens if you change the routers IP address to for example 192.168.0.1?
 
Old 09-30-2004, 08:43 AM   #3
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
to be honest I really can't remember if I chose auto DHCP in the installation menu surely netconfig sorts all that out anyhow?

I know 10.0.0.2 is a bit odd but that's what the manual of this particular router says (the other routers ive tried have been on the more normal address of 192.168.1.1) and I can't really change the ip address of the router until I can log into the web interface!

oh and the manual also says DHCP is enabled by default
 
Old 09-30-2004, 10:16 AM   #4
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Hello,
The network card address you are getting:- FF FF FF FF FF FF would suggest that your network card is faulty. This should be the MAC address of the card you need to activate, and generally the one currently showing would point to a failed MAC code. You could try and re-write it with the utility from this link:
ftp://ftp.gnu.org/gnu/macchanger/mac...r-1.5.0.tar.gz
 
Old 09-30-2004, 10:24 AM   #5
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
Hmmm. well you may need to get methodical about this. Slackware should be able to detect your card's MAC address so this is suspect. So should windoze for that matter. Not sure what version of windoze you have but you can run the networking command (ipconfig or something like that?) with the release and renew options and see what happens. Do you have any extra network cards around that you can try? Or bring the card/computer/router to a friend's house and give them a try. Networking is one of the hardest things to debug because there are so many potential points of failure. Break it down to each area is the best apprroach.

good luck!
 
Old 10-01-2004, 02:30 AM   #6
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
thanks for the help so far guys, its much appreciated. I'm in agreement that the MAC is

suspect, luckily I've got another card lying around which I tried last night without any joy

(although I reckon this is probably down to me not really knowing what I'm doing and not the

network card), haven't tried it in windows cuz the drivers are on floppy (and I cleverly

removed my floppy drive ages ago, so I'll have to dig that out). Anyhow heres the output

from ifconf

eth0 Link encap:Ethernet HWaddr 00:60:6E:77:20:CE
inet addr:10.0.0.4 Bcast:10.0.0.255 Mask 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 Carrier:0
collisions:0 txquelen:1000
RX butes:0 (0.0 b) TX bytes:504 (504.0 b)
Interrupt:7 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 Carrier:0
collisions:0 txquelen:1000
RX butes:896 (896.0 b) TX bytes:896 (896.0 b)

My ethernet modem/router is set up as the following

ip: 10.0.0.2
subnet mask 255.255.255.0
dhcp address pool selection 10.0.0.4-10.0.0.15

I couldn't get netconfig to set up my eth0 for some reason so I did it manually through ifconfig, so I have a static ip - could this be the problem?
 
Old 10-01-2004, 02:54 AM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have a similar adsl modem/router and looking at your output I am not sure that your netmask is correct. The 10.0.0.X range uses 255.0.0.0 so try changing it to this range using static addressing.
 
Old 10-01-2004, 11:32 AM   #8
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
well it would certainly appear that the subnet mask is indeed 255.255.255.0 (I'm currently on the net in windows on the modem, worked first time) so I must have some settings incorrect

any ideas? also what is the local loopback doing there, and can I get rid of it somehow?

here's the output from ipconfig in windoze if it helps any

Windows 2000 IP Configuration

Host Name . . . . . . . . . . . . : darkstar
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 4:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : DAVICOM 9102/A PCI Fast Et
pter #2
Physical Address. . . . . . . . . : 00-60-6E-77-20-CE
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.6
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.2
DHCP Server . . . . . . . . . . . : 10.0.0.2
DNS Servers . . . . . . . . . . . : 10.0.0.2
Lease Obtained. . . . . . . . . . : 01 October 2004 17:16:43
Lease Expires . . . . . . . . . . : 02 October 2004 17:16:43

Last edited by dhbiker; 10-01-2004 at 11:42 AM.
 
Old 10-01-2004, 02:29 PM   #9
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The way I had (and have mine setup with an Origo which is the same chipset) is eth0;
address 10.0.0.10
netmask 255.0.0.0
gateway 10.0.0.2

I use Debian and the configuration is very easy via /etc/network/interfaces. The loop back is essential as it deals with your local server and must not be removed.
 
Old 10-01-2004, 04:23 PM   #10
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
soooooooooooo annoyed right now, still no luck. I'll try debian
 
Old 10-03-2004, 11:57 AM   #11
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
Hi there,

Your output from Windoze ipconfig looks perfect, including I believe the net mask is ok at 255.255.255.0. I wonder if you have the correct kernel module loaded for your network card?
 
Old 10-03-2004, 02:29 PM   #12
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
indeed the correct kernel module is loaded (current network card is a davicom, with the tulip module loaded). debian was no good, so I'm back trying to get slack working for me. I don't see what I've done wrong!?!

If I tell debian/slackware to use DHCP then no ip is assigned to eth0, and if I manually assign the ip I can't get any response from the router.
 
Old 10-03-2004, 02:44 PM   #13
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
This looks to be simply a question of setting up your router/adsl modem correctly. Ensure that the modem is configured to handle dhcp and dns requests
 
Old 10-03-2004, 02:58 PM   #14
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
i'm using dhcp in windows as we speak
 
Old 10-03-2004, 03:26 PM   #15
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
IT WORKS IT WORKS IT WORKS -YEEEEEEHAAAAA!!!!

I love linuxquestions so much, I've been having a good look at posts and thought I'd try something out as a last minute desperation, it turns out that the tulip module which I had loaded for my ethercard wasn't quite working right - gotta admit it was hard to spot since it seemed to be working fine (could ping the card fine etc) anyhow I loaded the dmfe module instead and here I am, on the net in linux

Thanks for all the help guys
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't connect to Internet with adsl router buzzgrowl Linux - Newbie 8 10-06-2005 09:49 AM
connecting to the internet in Mandrake/Mandriva 10 through an adsl router serverjunkie Linux - Networking 6 08-16-2005 05:25 PM
Linux internet using adsl router Wozl Linux - Networking 4 02-09-2005 05:01 AM
Can't get ADSL Modem Router from Planet to connect with Internet dtee Linux - Networking 2 01-25-2005 09:55 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration