LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-28-2004, 08:07 PM   #1
RoughEdge
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Slackware 12
Posts: 67

Rep: Reputation: 15
Question hostname setup for router


Hi,


Well this will be the 2nd time I have given Linux a try (man its complicated).

Anyhows to the point. I am hoping someone can help me with this. I have a zoom X4 router/modem and have installed the USB part of it fine on my windows machine but trying to use the ethernet port on my linux box just isn't happening. I am running Mandrake 9.2 and I open up Drakeconnect and try intalling it from there.

It automatically detects my ethernet card and goes to set it up. It asks me for the ip address and the subnet address (is this of the box or the router?), I got stuck at this but read I should just check the DHCP box, that went okay but then it asks me for a hostname. The standard one it comes up with is localhost.localdomain now I dont know wht else to put in there but when I leave it blank or when I leave localhost.localdomain there it wont connect to the internet.

In my LAN configuration box it says that eth0 is down.

I apologise if this has been asked but any help would be greatly appreciated.


Rough
 
Old 04-28-2004, 09:47 PM   #2
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
localhost.localdomain should work fine.

does the interface successfully get an ip address assigned from the router?

you can type

# su
# ifconfig

and that will show you your interfaces.

check the connections (link lights?)
check that you have correct type of cable.

if you want to, try and set the settings manually.

the ip address of the router is your gateway

if the router is 192.168.1.1

use the first three numbers for your address

ex 192.168.1.2
and the subnet mask will be
255.255.255.0

then if the interface is stille down

ifconfig eth0 up

and see if you can ping the router

# ping rou.ter.ip.address
 
Old 04-28-2004, 11:55 PM   #3
|2ainman
Member
 
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
Also, if you have enabled your router to have a name, then I think that effectively makes it your domain, so your hostname would be <localhost>.<router name>
 
Old 04-29-2004, 03:15 AM   #4
RoughEdge
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Slackware 12
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks for your replies. Sorry it took me so long to reply but I was catching up on my zzzzzzzzzzzzzzzzzzzzzzzz. I have tried the ifconfig and it says

Link encap:local Loopback
inet address:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX Packets:2824 errors:0 dropped:0 overrun:0 frame:0
TX Packets:2824 errors:0 dropped:0 overrun:0 carrier:0
colliions:0 txqueuelen:0
RX bytes 262296 (256.1Kb) TX bytes 262296 (256.1Kb)

I dont know if I have setup a domain name for my router (am i able to find this out on my linux box or just my windose box since that is up and running)

Thanks again folks
 
Old 04-29-2004, 03:20 AM   #5
RoughEdge
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Slackware 12
Posts: 67

Original Poster
Rep: Reputation: 15
Oh and sorry it says network unreachable when I type in the ifconfig eth0 81.155.224.54 (that seems to be my ip).
 
Old 04-29-2004, 10:16 AM   #6
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
well, the only interface that you have right now is your loopback.
(127.0.0.1 is your computer talking to itself)

the ip address is that of your router, you need a private ip address for your computer.

without more info i'd say go through the card setup again, there doesn't seem to be a module loaded for it. hence no eth0 under ifconfig

try a search snd see if there are any quirks setting up your model nic under mandrake.
 
  


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
Strange hostname - Router Problem? logosys Linux - Networking 2 09-30-2005 02:54 PM
no hostname on router degraffenried13 Linux - General 9 06-15-2004 03:28 PM
Unknown hostname on router ToTLaugher Linux - Networking 1 02-10-2004 04:04 PM
Qmail 1.03 setup behind router, hostname question ews2001 Red Hat 0 10-29-2003 05:48 PM
router not displaying hostname Robin01 Linux - Newbie 1 09-05-2003 10:33 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration