LinuxQuestions.org
Review your favorite Linux distribution.
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 05-26-2005, 08:34 PM   #1
vroach
LQ Newbie
 
Registered: Feb 2004
Location: Georgia
Distribution: RedHat 7.2 & Win XP
Posts: 7

Rep: Reputation: 0
My DSL Router Is Being Uncooperative


Hi All,

I'm having a problem getting my DSL router/modem (Westell B90-220030-04) to initialize under Slackware 10.1. I have an older computer set up as my router/gateway/firewall/etc... On the linux box, the router is plugged into eth1, and my lan is plugged into eth0 via a hub. For some reason linux will not initialize (guessing here) the router after it has been reset (powered off & powered on). It does send out a dhcp request though. Also, I do not use adsl-start to establish a connection. However when I run the command, the ethernet light on the router does show activity, but no connection is established.

So that being said, this is how I've managed to establish my connection, thus far. I disconnect the router from my linux pc and then connect it to my windows pc. Windows establishes a connection just fine. Once the router is initialized or an initial connection is established (not sure if there's a difference), I reconnect it to the linux pc and run inet1 again. It sends out the dhcp request, gets handed an ip address, and everything works seamlessly afterward.

The best thing I can come up with is that my linux pc is not sending some required info to the modem in order to initialize it. However, windows sends the info because ahh it's idiot-proof and does everything without asking. Anyway once the modem is initialized, it will comply with any dhcp requests it recieves. So, any guesses or ideas about what I need to configure/reconfigure in linux in order to get my modem to initialize on boot up... or at least to initialize without switching cables around like an idiot? Because hey.. there's just something wrong with depending on windows in order to get linux working.
 
Old 05-26-2005, 09:42 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I chose eth0 to use for my DSL modem and mine worked on my initial install of Windows and Linux (well, I had to call the ISP to find out where I needed to click with Windows, Linux just worked).

Have you tried this?:

ifdown eth(what is connected to the DSL modem)
ifup eth(what is connected to the DSL modem)

That will usually bring back my IP when I have to cycle the DSL modem.
Code:
Thu May 26 10:44 PM root@uilleann ~ # ifdown eth0
Thu May 26 10:44 PM root@uilleann ~ # ifup eth0
 
Determining IP information for eth0... done.
Thu May 26 10:44 PM root@uilleann ~ #

Last edited by fancypiper; 05-26-2005 at 09:49 PM.
 
Old 05-27-2005, 05:39 AM   #3
vroach
LQ Newbie
 
Registered: Feb 2004
Location: Georgia
Distribution: RedHat 7.2 & Win XP
Posts: 7

Original Poster
Rep: Reputation: 0
After the router has been powered off & powered on (iow reset), 'ifconfig up eth1' and 'ifconfig down eth1' (i believe ifconfig up/down are equivelant to ifup/ifdown in the slackware distro) seem to have no effect. Although, I can tell the dhcpcd deamon sends out the request for an ip address. Nothing gets returned from the router. So, the interface just gets loaded without an ip address/broadcast address/netmask/etc... Now after I use windows to establish an initial connection, ifconfig up/down will bring up the interface and bring it down. Also, I'm pretty sure during bootup the rc.inet1 script attempts to bring up eth1 and sends out the dhcp request. However, nothing is returned so it doesn't keep the interface up. Anyway, I'll post the output of both the inet1 at boot and the results from ifconfig up/down after the router is reset when I get off work this afternoon, but it doesn't really seem to be the issue.
 
Old 05-28-2005, 12:12 PM   #4
vroach
LQ Newbie
 
Registered: Feb 2004
Location: Georgia
Distribution: RedHat 7.2 & Win XP
Posts: 7

Original Poster
Rep: Reputation: 0
Well.. I figured out a much better solution than swapping cables. I just turned off the dhcp server capabilities in the DSL router and gave my eth1 NIC a static IP address on the same subnet as the router. Everything works great now.
 
Old 05-28-2005, 12:25 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
/me Salute!
 
  


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
DSL, WebServer, Router bassmanb Linux - Newbie 1 02-06-2004 01:47 PM
dsl/router question tw001_tw Linux - Newbie 6 10-21-2003 06:01 PM
Playing an uncooperative CD toothfish Linux - General 1 08-10-2003 11:52 PM
RH 7.3 - why is it so uncooperative Vlad_M Linux - Distributions 3 09-26-2002 04:30 PM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 04:09 AM

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

All times are GMT -5. The time now is 04:03 AM.

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