Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linksys Blue box and Debian

Reply
Thread Tools Display Modes

Linksys Blue box and Debian

 
 
Tom
Guest
Posts: n/a

 
      04-24-2005, 07:33 AM
Earlier in a post in this newsgroup it was suggested
that one should not use dhcp with these blue
Linksys DSL switches. One should limit the
IP addresses available on the Linksys dhcp server
and use the addresses not available as static
addresses.

So I ran the command
apt-get remove dhcp-client

And then I could no longer connect to the internet.
OK, was this a mistake and if so what is the correct
method?

I tried various methods to get an internet connection
going at this point. After reboot Debian no longer set
up eth0, so I had to do this manually with ifconfig.

This would allow my internel network to work
properly but still no connection to the internet.
The route add command would not work(why did this
happen???? ) , and the
command netstat -rn showed that I had no routing
tables.

Finally, I gave up and ran the command

apt-get install dhcp-client

which thankfully worked with no connection to the
internet and I was up and running again with an
internet connection.

Does one need to use dhcp with one of these Linksys
Blue boxes?

If not, how do you get to the internet without it?





 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      04-24-2005, 07:44 PM
On Sun, 24 Apr 2005 01:33:29 -0500, Tom <(E-Mail Removed)> wrote:
> Earlier in a post in this newsgroup it was suggested
> that one should not use dhcp with these blue
> Linksys DSL switches. One should limit the
> IP addresses available on the Linksys dhcp server
> and use the addresses not available as static
> addresses.
>
> So I ran the command
> apt-get remove dhcp-client
>
> And then I could no longer connect to the internet.
> OK, was this a mistake and if so what is the correct
> method?


Did you configure the Linux network interface to the Linksys with static
IP, proper netmask, and gateway to Linksys LAN IP, and nameserver(s) in
/etc/resolv.conf?

You do not necessarily need to uninstall dhcp-client to not use dhcp, you
just need to properly configure your nic and DNS for static IP instead of
dhcp.

> I tried various methods to get an internet connection
> going at this point. After reboot Debian no longer set
> up eth0, so I had to do this manually with ifconfig.
>
> This would allow my internel network to work
> properly but still no connection to the internet.
> The route add command would not work(why did this
> happen???? ) , and the
> command netstat -rn showed that I had no routing
> tables.


Insufficient data. What is router DHCP assigned IP range? What
IP/netmask did you assign to eth0, and what route add command did you
attempt to use?

> Finally, I gave up and ran the command
>
> apt-get install dhcp-client
>
> which thankfully worked with no connection to the
> internet and I was up and running again with an
> internet connection.
>
> Does one need to use dhcp with one of these Linksys
> Blue boxes?


No

> If not, how do you get to the internet without it?


You need to properly configure your eth0 for static IP, netmask, default
route to Linksys LAN IP, and /etc/resolv.conf. Note that for most
broadband routers, static IPs must be _outside_ of router dhcp assigned
range. But for some confusing routers, static IPs need to be within
router dhcp assigned range.
 
Reply With Quote
 
Tom
Guest
Posts: n/a

 
      04-24-2005, 11:23 PM

"David Efflandt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Sun, 24 Apr 2005 01:33:29 -0500, Tom <(E-Mail Removed)> wrote:
> > Earlier in a post in this newsgroup it was suggested
> > that one should not use dhcp with these blue
> > Linksys DSL switches. One should limit the
> > IP addresses available on the Linksys dhcp server
> > and use the addresses not available as static
> > addresses.
> >
> > So I ran the command
> > apt-get remove dhcp-client
> >
> > And then I could no longer connect to the internet.
> > OK, was this a mistake and if so what is the correct
> > method?

>
> Did you configure the Linux network interface to the Linksys with static
> IP, proper netmask, and gateway to Linksys LAN IP, and nameserver(s) in
> /etc/resolv.conf?
>
> You do not necessarily need to uninstall dhcp-client to not use dhcp, you
> just need to properly configure your nic and DNS for static IP instead of
> dhcp.
>
> > I tried various methods to get an internet connection
> > going at this point. After reboot Debian no longer set
> > up eth0, so I had to do this manually with ifconfig.
> >
> > This would allow my internel network to work
> > properly but still no connection to the internet.
> > The route add command would not work(why did this
> > happen???? ) , and the
> > command netstat -rn showed that I had no routing
> > tables.

>
> Insufficient data. What is router DHCP assigned IP range? What
> IP/netmask did you assign to eth0, and what route add command did you
> attempt to use?
>
> > Finally, I gave up and ran the command
> >
> > apt-get install dhcp-client
> >
> > which thankfully worked with no connection to the
> > internet and I was up and running again with an
> > internet connection.
> >
> > Does one need to use dhcp with one of these Linksys
> > Blue boxes?

>
> No
>
> > If not, how do you get to the internet without it?

>
> You need to properly configure your eth0 for static IP, netmask, default
> route to Linksys LAN IP, and /etc/resolv.conf. Note that for most
> broadband routers, static IPs must be _outside_ of router dhcp assigned
> range. But for some confusing routers, static IPs need to be within
> router dhcp assigned range.



I am asking how to configure the Debian box
to work with static IP addresses and you ask me
if I properly configured the box to work with static
IP addresses.


 
Reply With Quote
 
Carl Fink
Guest
Posts: n/a

 
      04-25-2005, 05:09 AM
On 2005-04-24, Tom <(E-Mail Removed)> wrote:

> I am asking how to configure the Debian box
> to work with static IP addresses and you ask me
> if I properly configured the box to work with static
> IP addresses.


Your question was unclear -- or rather, your description of your activities
was.

You might want to look at some primer on networking, say from the Linux
Documentation Project:

http://www.tldp.org

--
Carl Fink (E-Mail Removed)
If you attempt to fix something that isn't broken, it will be.
-Bruce Tognazzini
 
Reply With Quote
 
=?ISO-8859-1?Q?Hern=E1n_Freschi?=
Guest
Posts: n/a

 
      04-28-2005, 08:28 PM
> I am asking how to configure the Debian box
> to work with static IP addresses and you ask me
> if I properly configured the box to work with static
> IP addresses.


Relax pal, you didn't ask "how do I configure debian for this specific
task", so don't expect an answer to that. Now that you gave a straight
question, I can give you a straight answer:

Edit /etc/network/interfaces and change the line:

eth0 inet dhcp

for

eth0 inet static
address your.ip.address.here
netmask your.netmask.address.here
gateway your.linksys.ip.address

Then reboot and you should be done. Don't wanna reboot? Do

ifdown eth0 && ifup eth0

If it still doesn't work, check /etc/resolv.conf. It should say
"nameserver your.dns.server.address".

That's it.

hjf

--
Sí esta atascado, fuércelo. Sí se rompe, es que necesitaba ser reemplazado.

http://www.hjf.com.ar/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian and Linksys Blue Box Tom Linux Networking 2 04-27-2005 01:58 AM
Debian and Blue Linksys DSL switch Tom Linux Networking 1 04-18-2005 01:52 PM
Debian and Blue Linksys DSL switch Tom Linux Networking 2 04-09-2005 01:50 AM
Name serving behind a blue linksys box tom Linux Networking 2 11-14-2004 05:54 PM
Blue linksys DSL switches tom Linux Networking 7 11-10-2003 06:05 PM



1 2 3 4 5 6 7 8 9 10 11