LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-02-2003, 12:38 PM   #16
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30

OK... I'm having trouble guessing my ISP's nameserver's IP address and DHCP still isn't working. How can I determine what IP to use as a nameserver?

Also, any idea what that error from lpd means?
 
Old 03-02-2003, 12:44 PM   #17
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by kc8tbe
OK... I'm having trouble guessing my ISP's nameserver's IP address and DHCP still isn't working. How can I determine what IP to use as a nameserver?

Also, any idea what that error from lpd means?
Call your ISP or search their homepage for information. Most have help sites for their services.

lpd error ? lpd is your printing daemon.. don't remember reading anything about an lpd error.
 
Old 03-02-2003, 01:01 PM   #18
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The nameserver you specified seems to be overloaded. I use 3 (+my own one):
nameserver 194.204.152.34
nameserver 194.204.159.1
nameserver 213.241.5.3
They're in Poland, so they may be a bit slow for you. Ping them all, choose the best one and use it. You'll have WWW access so you can search for ones closer to you.
 
Old 03-02-2003, 01:10 PM   #19
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
Talking thanks!

Thanks a lot, guys!!! Problem solved!

Just to recap:
The problem - an active network, but no internet (not even by IP) - was initially caused by the router thinking that my computer was something it wasn't. My computer's name was "localhost". My router thought it was "Jack". Changing the computer's hostname to "Jack" solved that problem. Because DHCP wasn't working (still isn't) it was nescessary to manually assign my computer an IP address and gateway (ifcfg-wlan0) and nameservers (resolv.conf). After this was done, everything started working fine.

Thanks again - you guys are great! I haven't heard from Mighty_Viking though - you still out there?
 
Old 03-04-2003, 01:23 PM   #20
Mighty_Viking
LQ Newbie
 
Registered: Feb 2003
Posts: 21

Original Poster
Rep: Reputation: 15
hi im back , sorry had a HD crash.
Im using Debain Woody!
to activate my network i have to run these commands:
ifconfig eth0 192.168.0.6 netmask 255.255.255.0 up

route add default gw 192.168.0.1 dev eth0

is there anyway that these commands are loaded automaticly on startup?
The Gateway is a D-link router!

I can ping my the DNS servers from the ISP, but i can't start the internet.
 
Old 03-04-2003, 01:29 PM   #21
Mighty_Viking
LQ Newbie
 
Registered: Feb 2003
Posts: 21

Original Poster
Rep: Reputation: 15
problem found in my resolv.conf
i had name server and not nameserver
but i still need some help getting the network to start on login!
 
Old 03-04-2003, 02:34 PM   #22
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Add everything to /etc/rc.d/rc. Or create a short script running the command and start the command from rc script.
 
Old 03-04-2003, 03:22 PM   #23
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
For further reference...

I know you've solved your current problem, but have a look at:

http://www.yolinux.com/TUTORIALS/Lin...rkGateway.html

It's the most straight forward guide I've seen for this type of problem - internet masqerading, NAT, routing, etc. I use a cable provider to connect - it worked first time for me!

Dave
 
Old 03-05-2003, 06:33 AM   #24
Mighty_Viking
LQ Newbie
 
Registered: Feb 2003
Posts: 21

Original Poster
Rep: Reputation: 15
i don't have /etc/rc.d/rc

but rc0.d/ - rc.5.d/ i guess that each folder is one runlevel!?
and there is also rc.boot

so should i just add the commands to rc3 and rc5 ?
 
Old 03-06-2003, 12:55 PM   #25
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
To rc.boot.
 
  


Reply



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
network yes, internet no paracetamolo Linux - Wireless Networking 3 12-05-2005 04:44 AM
10.0 On network but cannot get internet hydro Mandriva 0 04-24-2004 07:36 PM
Internet and Network AbsoluteMonkey Linux - Networking 3 04-22-2004 02:52 AM
network/internet help Global_Throttle Linux - Software 1 03-19-2004 08:45 AM
No Internet/Network p1az Slackware 2 11-13-2003 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration