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.
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Rep:
Cable Internet through LAN
Hey, I can't connect to cable internet though linux!!
I've skipped configuring it because some people were helping me before, but they must have either given up, forgotten, or didn't know what there was to fix. So now, I can start with a clean slate.
So, how do I configure Internet access?? Starting from where you identify the ethernet card, to where you connect to the internet??
If the pc is connected directly to the cable modem via an ethernet card all you should have to do is tell the ethernet card to get an Ip address via dhcp.
That's assuming of course your ethernet card is working, ( or is that the stumbling block )
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224
Original Poster
Rep:
Well, I have an eth0 interface, and linux recognizes it. When I set up my internet, i tell it my hostname (which is ****.wowway.com) and I set it up to use DHCP. It has a netmask automatically, and I leave that alone.
I'm connected to the internet through a network hub if that makes a difference.
Wait a minute... the hostname refers to the computer that I am on, and not the WOW computer that I connect to to get internet, right??
If you set a hostname it applies to the compuiter you set it on and no other, yeah and no other device/computer will know about that hostname unless you tell them explicitly or setup dns (forget about that though)
Do do what? If you're you're sure your card is good to go, or look in and uncomment the approrpiate entry in /etc/rc.d/rc.modules (reboot)
Slackware
/etc/rc.d/rc.inet1
USE_DHCP=yes
(the first one)
unless you updated everything then its in something like /etc/rc.d/rc.inet1.conf
Remember though if you are usng a hub only one computer at a time will access the internet unless you got more than one ip from your ISP or are usng NAT. Reboot your modem every time you change network card thats connected to it
1: what is the ip address you are getting from the dhcp? is it a internal range (10.*.*.* or 192.168.*.*)??
2: can you ping your gateway? (do you have one setup) if you are running a router (network HUB) with NAT then typically your gateway is the ip of your router (typically 192.168.0.1) go into the management software of your router
3: can you ping any websites? (www.google.ca) add your DNS servers to resolve.conf "nameserver 232.232.232" <-- whatever it is.
i think you would have a better time taking the router off completely and directly connecting the linux box and see what your internet provider gives you for an IP gateway dns etc. then see if you can surf. if you can then look no further it's the router it's mis configured.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.