LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-01-2008, 07:42 PM   #1
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware 11, 14.1 :: Slackware64 14.1
Posts: 123

Rep: Reputation: 22
connecting to internet through a router to cable modem


This is bound to be a simple question and I feel simple for asking but:
I have a LAN which includes a Linux (Slackware 11) system and a Windoz (XP) system connected through a router. Yesterday I got cable internet so the cable modem is hooked into the WAN side if the router. The Windows sytem works fine, browses internet without a problem. But the Linux system can't. I have tried various proxy settingd on the browsers and it changes the problem but doesn't fix it. What do I need to do to Slackware to get it working with the router for internet access? Local access works fine for http, telnet, samba, &c., but Linux can't find remote URLs. Maybe a DNS problem? They didn't give me any DNS server info, so I am confused about that but, like I said, Windoz is working fine. What am I missing?

Last edited by rdx; 02-01-2008 at 07:45 PM.
 
Old 02-01-2008, 08:16 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Routers can be set to aquire DNS addresses form your ISP. If I can remember, windoze uses a setting called 'autoamtic' or something very similar. This means windoze gets the DNS addresses from the router.

Have a look in your router configuration to see if it set up to get DNS addresses form your ISP. I would guess it is, since windoze is working.

Those addresses should wind up in a file called /etc/resolv.conf. on your linux system. You can look there to see if you have any addresses. There is a warning on my system, not to edit that file, changes get overwritten. I assume that happens if my router passes my system new DNS addresses.

It is also possible to set the router up with the DNS addresses the ISP gives you. On my router that is called 'manual'. With that setting, if the ISP changes DNS addresses, I would have to change the addresses manually on my router. Small ISP's would probably not change them, if at all; where a large ISP could change them often.

If your ISP has a support line, you can call and ask for DNS IP addresses. BTW, if they tell you linux is not supported, just ignore that comment. All it means is they don't know anything about linux.

Hope this helps.
 
Old 02-05-2008, 01:58 AM   #3
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware 11, 14.1 :: Slackware64 14.1
Posts: 123

Original Poster
Rep: Reputation: 22
it's clumsy, but it worked

I now have the linux system connecting to the internet. The way I got it connected was:
run 'pkgtool' ; one of the options is 'Setup"
Selecting setup opens anothe menu with an entry 'netconfig'
selecting netconfig runs the network setup that came up at install.
One of the choices allows DHCP to be detected automagicly.
That done, I rebooted. I'm sure there is a better way but that's how I got it working.

Thanks for the advice. It helped steer me in the right direction.
 
Old 02-05-2008, 08:15 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Glad you got it going.
 
  


Reply

Tags
cable, router, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem connecting to the Internet with a Cable Modem desmith1944 Linux - Networking 4 10-24-2004 08:32 PM
Connecting to internet via Cable Modem Marc19 Linux - Newbie 1 08-06-2004 07:23 AM
Connecting to internet with cable modem. twsnnva Linux - Networking 2 10-14-2003 11:57 PM
connecting to internet via cable modem with Peanut PenguinEgg Linux - Networking 1 03-13-2003 09:53 PM
Problem connecting Suse 8.0 to internet via cable modem traveler Linux - Newbie 2 09-25-2002 01:22 PM


All times are GMT -5. The time now is 08:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration