LinuxQuestions.org
Visit Jeremy's Blog.
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 07-24-2005, 05:36 AM   #1
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Rep: Reputation: 15
Accessing the internet...


I'm running Slackware 10.0, and just recently reconfigured my network.

I've changed the IP address, subnet mask, and gateway of my Linux box to work with the new network.

IP: 192.168.1.6
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1 (The router)
Nameserver: (empty)

Hostname: tux
Domain: 1.toms-server.net

These settings are identical to my Windows computers, with the exception of IP address, and can connect to the internet fine.

I can ping other computers on the network, including the router, and can also access the web control pnel of the router via the linux box.

But pinging any computer or website on the internet side of the router just fails with an "Unknown Host" message.

Any ideas?


EDIT:
Should also point out that I had no problems at all accessing the internet before these network changes.

I have tried changing the settings in 'netconfig' to use my routers DHCP server instead of using a static IP. This hasn't helped, and it is not listed in the router 'DHCP Clients' list, along with my other computers.

Last edited by TBomb; 07-24-2005 at 08:03 AM.
 
Old 07-24-2005, 07:06 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Post /etc/resolv.conf
 
Old 07-24-2005, 08:03 AM   #3
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
/etc/resolv.conf

search 1.toms-server
 
Old 07-24-2005, 08:46 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
I have the routers address
/etc/resolv.conf
Code:
domain nis.no-ip.info
nameserver 192.168.0.1
and the router as the default gateway
Code:
gateway="eth0/192.168.0.1"
Here is my setup WAN -> dsl modem -> linux router -> LAN
not sure if yours is the same
 
Old 07-24-2005, 08:50 AM   #5
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
I have a slightly different setup, but I changed my resolv.conf to match yours (though obviously different IPs) and it works.

Thanks for the help, much appreciated.
 
Old 07-24-2005, 08:53 AM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Great, and your welcome, have fun
 
Old 07-24-2005, 08:53 AM   #7
Steffen
LQ Newbie
 
Registered: Feb 2003
Location: Berlin
Distribution: LFS
Posts: 4

Rep: Reputation: 0
I think my wlan configuration is ok because "ifup wlan0" makes no problems. It just doesn't get up at boot time. I think /etc/network/interfaces is processed, cause other interfaces are up, only wlan0 is ignored.
 
Old 07-24-2005, 08:54 AM   #8
Steffen
LQ Newbie
 
Registered: Feb 2003
Location: Berlin
Distribution: LFS
Posts: 4

Rep: Reputation: 0
Sorry, wrong thread
 
  


Reply


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
Need help accessing the internet ubuntu_nig Ubuntu 6 10-07-2005 07:35 AM
Internet accessing Probplem nkutty Linux - Networking 1 08-06-2005 02:59 PM
Redirect before accessing internet Trano Linux - Networking 2 01-21-2005 12:13 PM
How to know which program is accessing the Internet. mattmiller Linux - Networking 7 08-05-2004 02:23 PM
Accessing the internet ruitao Linux - General 2 03-05-2003 06:27 PM


All times are GMT -5. The time now is 04:40 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