Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is probably one of the simpler questions out there, but I'm stumped. I can't find any guides on how to set up a router under linux....
The way it's currently setup is wall jack --> modem --> router --> computer.
The instruction manual tells me to go to routerlogin.net for setup. However, when I do this my connection times out. I can see my dsl modem happily connected, and I'm pretty sure the router itself is receiving the signal, but somewhere between the router and my computer something is going wrong.
I'm currently running ubuntu (debian-based) linux with an MR814 Netgear router. The router says it's linux compatible and it should be as it's a web-based setup. I just need to get to that one website!
So, what should I do? Where do I start to get my computer to talk to the router? Any advice? I've tried google, but just about everything is on how to make your own linux router, not how to set up a linux router.
Just to make sure you do not have a hardware problem, I'd check the lan connection or wifi lights on the back of your box(nic/wifi card), check connections to the router and modem(if applicable), if anything is loose, well, connect, heh.
Onward...if all checks out there, try some networking procedures: ping the computer, address 127.0.0.1 If it checks, find the IP for the router and ping that address. Usually a 192.168.x.x If you are able to ping the router you should be able to connect to the router via what "ilikejam" stated. If you cannot ping the router, try shutting down all the hardware and your computer system, and bring up the network first -- before bringing up your computer.
If nothing works, perhaps there is something unconfigured or incorrectly configured in your network settings... PPPoE settings perhaps?
I didn't check to see if your router is wireless and have not experienced a wireless network with Linux, so I am quite bias to wired network troubleshooting. My wireless exp extends into the Windows OS only. I will breach that barrier, hopefully very soon!
Hello to both of you and thank you very much for helping me.
Alright, I've connected everything together. All the lights that should be on, are on. The ip of my router is printed on the back of my router so I tried pinging it or connecting to it via the web. No dice. I was able to ping 127.0.0.1 with the router plugged in but everything else gave me the error message "Destination Host Unreachable"
I think what's going wrong is that my computer is already configured for adsl. I don't run any startup scripts as far as I know... No roaring penguin or anything like that. I just have my etc/networks/interface filled out and my /etc/resolv.conf filled out. Could that be interfering with my router on startup? I duno if this information will help, but as soon as I unplug the router and replug the modem directly into my computer I have internet access
Am I missing something obvious? Am I doing something dumb? Both? Neither?
If the internet connections works when you plug the PC into the modem then it must be configured for DSL.
Are there any GUI wizards for configuring networks? All you need is a LAN connection using DHCP and the use the router's IP address as the gateway. The router must be configured for the type of DSL on its WAN side.
From the way it sounds is that your computer needs to be on the same subnet as your router to communicate with it, example dsl ip: 69.20.xxx.xxx, router ip is 192.168.1.1 so your computer ip needs to be something like 192.168.1.xxx to communicate with the netgear router. your router will have two ip's in it, one for the dsl/internet and one for the private lan
Thank you everyone. I solved it! The clue you gave me was the fact that I needed to mess around with ip address.
Noting that my router's ip was 192.168.0.1 I issued the following command to change my computers ip address. "sudo ifconfig eth0 192.168.0.2"
I was then able to access the modem by going to http://192.168.0.1/welcome.htm It easily self-configured and it's now working a treat! I'm so happy! This is awesome. My router is working! Now all I've got to do is get it to talk to my windows 98 box and I'm set!
*dances*
Thanks everyone for helping out, your help means a whole lot to me!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.