Connecting to my new broadband service
Dear folks - I have just acquired Braodband after a long wait in my area. I have Debian 3.1 on one machine, Windows on another, a four port hub and the router thingy which connects out to the internet. I have got the broadband service to work fine with the windows machine but want to use it on the linux box as well.
I have eth1 setup and can ping the router by ping 192.168.1.1 , but when I try to use the service by running up mozilla it can't find the connection for some reason. I'm pretty basic on networking can any one point me at some checks I ought to do please? Does resolv.conf come into this somewhere? I have not done any setup/ configuration work, just tested using the ping. Not sure where to go from here. Many thanks, Greeb |
please test this on your linux box:
default gateway: 192.168.1.1 (router ip) /etc/resolv.conf: nameserver 192.168.1.1 |
You can fix this by modifying the file /etc/network/interfaces
First decide if you want a static or dynamic IP. Static is good if you want to name the computers on your network in /etc/hosts. For a static IP: Code:
# /etc/network/interfaces Code:
# /etc/network/interfaces ifdown eth0 ifup eth0 Your connection should now be working and will be made at boot time (because it says auto eth0) in the interfaces file. |
Many Thanks Guys, works a treat
Thanks both for the suggestions, works a treat. Do you know if there is a firewall package I should use for debian?
Thanks Greeb :) |
Pleased it worked.
For firewalls - Your "four port hub and the router thingy" is probable already running a firewall for you, all the ones I have bought in the last 3 years have done this (and I know for a fact that mine are running linux in that little box!). If you told us its make and model No., I could confirm this for you. Otherwise you'll have to take a look at iptables - [Search] button is above! There are many tutorials on the net. |
All times are GMT -5. The time now is 12:30 AM. |