Can't connect to internet through router
SO, i had given up trying to use linux because i couldn't get connected through pppoe. Now I had the need of installing a router and since with this there should be no pppoe configurations through Knoppix and only through the router I am trying again. I setup the router myself and although it works perfectly on Win XP i might have done something wrong. What I did and supposedly works as i want it is this, I connected my PC using ethernet to the router while another PC is connected through wireless. The PC directly connected to the router works fine on XP (internet). The router should be set up using static IP to the PCs and DHCP to ISP. One question I have is this:
If the Inet is the IP address from eth0 to router and the gateway and mask are the same as on XP, what exactly is the Bcast IP??
I set it as blank in netcardconfig and it showed up 192.168.2.255. With this configuration i could browse the router GUI but unless there is something else to setup on KNOPPIX the internet connection is not working(on the PC connected with ethernet card). Also question 2 is this:
what is 'lo'? is it the LAN in winXP?
Do i have to set it up in some way? And also:
If i can browse the router , what is wrong with the internet connection? It shows up on the router! So i presume that it is eth0 that in fact i should have set up(and i did).
Thanks and regards.
Re: Can't connect to internet through router
192.168.2.x looks good for a private IP range, and the fact that you can connect to your router seems to indicate that your address is OK. You haven't mentioned if you had configured DNS. Without it, you won't be able to do much. I suggest you try DHCP first, which should take care of providing your linux client with all the necessary parameters (IP, netmask, DNS servers...). Once that works and if you really need a static IP, make sure you provide all the parameters when asked by the knoppix "netcardconfig" script. If you've installed to HD, look into /etc/network/interfaces and /etc/resolv.conf
BTW PPPoE is perfectly supported on linux, by the "roaring penguin" SW, included with knoppix. Connecting through USB can be problematic, though, and purchasing a router is a smart move.
fixed adsl internet connection through router by mistake!
I finally managed to fix it...by mistake!
All my IPs start with 192.168.2.xxx
I set my Bcast address to 192.168.0.255 and it worked !
I'm happy with this but for future problems if anyone can give me an answer on why this happened it would be very helpful. Probably when I used to try without the router and using roaringpenguin that was the same problem i had!
Thanks to all , regards and best wishes.
Re: fixed adsl internet connection through router by mistake
Quote:
Originally Posted by archimedes1981
...All my IPs start with 192.168.2.xxx
I set my Bcast address to 192.168.0.255 and it worked !....
There is something very wrong here. While you may perceive this as working now, network activities that depend on broadcasts will fail under this condition. I suggest that you dig deeper into what is going wrong and correct it. It would be best to determine not only why this apparently out-of-range broadcast address seems to work, but also why you need to do any manual configuration at all rather than just letting DHCP configure the network for you.
I would be interested in seeing ifconfig output, both before and after you set the broadcast address to 192.168.0.255. Also, why this particular address? Is there something on your system that makes this address seem special, or is it just that you bypassed the normal (for your system) 192.168.2.255 broadcast address? I suggest an experiment where you try 192.168.50.255 and see what happens (or pretty much any address outside the 102.168.2.xxx and 192.168.0.xxx ranges). My guess is that your new broadcast address isn't really working, but it's preventing you from getting some information from the normal broadcast address that was leading to the problem.
If you choose to not track this down now, at the very least remember that you have done this and make it clear again that your broadcast address is not right when you come back later and make your next post about a networking problem that you are having. Because with addresses like this you will have future problems.