View previous topic :: View next topic |
Author |
Message |
Seph64 Apprentice
Joined: 13 May 2003 Posts: 191
|
Posted: Sat Sep 09, 2006 8:49 pm Post subject: Setting up Linux to work with a D-Link DI-524 router? |
|
|
Yesterday I purchased a D-Link router to replace the Linksys router I had (which kept requiring me to restart it by unplugging it then plugging it back in) , it works... in Windows and OSX, but I am having a hell of a time trying to get Linux to work with it.
I tried everything I could think of, using a static address, and dhcp. I even added some dns servers to /etc/resolv.conf, but I can never get it to work properly.
In Gentoo, surfing the net take absolutely forever. I've also tried other distros with no great success (except the LFS livecd).
I have since hooked my old linksys back up so I can get Linux to work. But would eventually like to go back to the D-Link considering I spent so much money on it, it'd be a waste if I have to take it back (even though I may be able to get the money back).
No computers in this house use Wifi, so it's just a matter of hooking the computers up through the Ethernet interface.
Thanks in advance. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54793 Location: 56N 3W
|
Posted: Sat Sep 09, 2006 9:09 pm Post subject: |
|
|
Seph64,
Well, dhcp should just work - its not linux specific.
Get dhcp up with both routers in turn.
Look at the content of /etc/resolv.conf
Look at the output of route.
Check ping by IP and by name, to the router and to the internet.
Something to be careful of, if yo uhave a valid dhcp lease when you restart your computer (depends on dhcpserver settings in the router) linux will continue trying to use it. When you swap routers, you may need to force dhcp to get a new lease.
Read The -k option looks good. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
shigeo n00b
Joined: 03 Dec 2004 Posts: 41
|
Posted: Sun Sep 10, 2006 1:56 am Post subject: |
|
|
i've got the same router DI-524.
it used a different subnet than my previous model from U.S. Robotics, so i lost quite some time there searching the networks bottleneck.
maybe you should change the Routers own IP from 192.168.0.1 to 192.168.1.1.
by the way, you can ping the router, and enter the routers config menu in a browser?
Last edited by shigeo on Sat Sep 16, 2006 4:41 pm; edited 1 time in total |
|
Back to top |
|
|
jstead1 Guru
Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Sun Sep 10, 2006 3:45 am Post subject: |
|
|
I also have the DI-524 router.
My linux box is just setup to use dhcp
(set it up in /etc/conf.d/net)
The router is set up for dhcp.
I believe dhcpd creates an appropriate /etc/resolve.conf, with the router as nameserver.
You will need to restart your network to get the changes to take effect on the linux machine. _________________ jim |
|
Back to top |
|
|
|