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-05-2001, 02:30 PM   #1
HHH
Member
 
Registered: Jun 2001
Posts: 78

Rep: Reputation: 15
Exclamation Network Config. Problems!!!


I need help! I just finished dual booting Win2K with RedHat7.0.
It works, but I can't configure my internet! The MIS/IT people at my company don't work with Linux too often, so they're having problem. My main problems are:

1) When starting up, I get:
Starting lpd: Get_local_host:'localhost' IP address not available
I also get:
Using Servername directive: [Failed]
2) looking under netcfg, I inputed all the IP stuff the MIS people told me & none of them work!

Any help will be appreciated!

HHH
 
Old 07-05-2001, 04:49 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Have a look in /etc/hosts and check that there is a line that reads
Code:
127.0.0.1      localhost
and an entry for the name of your machine in the too, in the case of my server I have an entry that reads
Code:
192.168.1.2   mnemosyne.j-harris.dircon.co.uk  mnemosyne
(j-harris.dircon.co.uk being my internal domain, a hang up from some years ago that I can't be arsed to change).

Also did you give the machine a proper name?? what do you get when you type
Code:
uname -n
Mind you I don't see why this would stop you from getting out onto the web. You're setting up your access on the company LAN yeah? Have they given you a proper IP address, is your network card working correctly, can you get to other machines on the lan (if only with ping) and have they given you details of their Proxy for you to tell Netscape (I'm assuming they have a proxy, if they have direct access then be afriad, be very afriad...)

cheers

Jamie...
 
Old 07-05-2001, 05:23 PM   #3
HHH
Member
 
Registered: Jun 2001
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks for the cheery last note!

Looking into my /etc/hosts I get:

127.0.0.1 localhost (except in my case, localhost=myfirstname_mylastname)

I don't have anything else. If I type uname, I get Linux.

Did I do anything wrong?

Quote:
Mind you I don't see why this would stop you from getting out onto the web. You're setting up your access on the company LAN yeah? Have they given you a proper IP address, is your network card working correctly, can you get to other machines on the lan (if only with ping) and have they given you details of their Proxy for you to tell Netscape (I'm assuming they have a proxy, if they have direct access then be afriad, be very afriad...)
My IP address is 10.11.10.17, where do I put it?
Do I put it as:

10.11.10.17 Masterdomain.com in /etc/hosts?

My network card is fine, I can get on the web when I'm on Win2K.

I'm not sure about the rest, I'll try to ping onto other machines and they have not given me anything about their Proxy.

Also, do you think it's because I need to load a driver?
Sorry for the long message!

Thanks in advance!
 
Old 07-05-2001, 05:40 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by HHH
If I type uname, I get Linux.

Did I do anything wrong?
You need to put the -n on the end of uname

Quote:
Originally posted by HHH
My IP address is 10.11.10.17, where do I put it?
Do I put it as:

10.11.10.17 Masterdomain.com in /etc/hosts?
You'll probably want
Code:
10.11.10.17  machineName  machineName.masterDomain.com
where you substituted machineName in both places for the name you have given to your machine.

I'm not from the Redhat camp so can't tell you where Redhat sets its IP address... you will definately need to enter is somewhere!

Quote:
Originally posted by HHH
My network card is fine, I can get on the web when I'm on Win2K.

I'm not sure about the rest, I'll try to ping onto other machines and they have not given me anything about their Proxy.

Also, do you think it's because I need to load a driver?
Have you loaded any modules for you network card? Type
Code:
ifconfig
at the command prompt, then
Code:
lspci
at the command prompt and post the results. That way we'll be able to see what network card you have and wether it's configured.

As for the proxy settings - you'll need these as there must be somekind of proxy or NAT gateway setup going on as the 10.0.0.0 IP addresses are reserved for internal use.

Quote:
Originally posted by HHH
Sorry for the long message!

Thanks in advance!
A long message is always better that a short one. At least if you give too many details we can ignore some, if you don't give us enough we're stuck! And as for the last bit - no worries in advance!

HTH

Jamie...
 
Old 07-05-2001, 06:28 PM   #5
HHH
Member
 
Registered: Jun 2001
Posts: 78

Original Poster
Rep: Reputation: 15
OK. This is what I have done so far.

I added the IP address and my machine name.
Now,when I did the ifconfig --> lspci, I got a list of devices, all which say "Unknown Device" except the last three. They had:

Communication Controller: CONEXANT 56K Winmodem (rev08)
Multimedia audio controller: Ensoniq 5880 AudioPCI (rev02)
Ethernet Controller: Intel Corporation 82557 [Ethernet Pro 100] (rev08)

I don't know what this means.

Also, how do I run LILO withu rebooting?
When I type lilo in terminal window, get some error which said I'm over the 1024 cylinder and that linear doesn't support it. They said I should use lbt32.

Thanks!

HHH
 
Old 07-05-2001, 06:45 PM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Right so it looks like you have an Intel EtherExpress Pro 100 network card. What was the output from ifconfig? You may need to load the eepro100 modules using modprobe... but lets get the output from ifconfig first.

As for lilo - when you run the lilo command it attempt to install lilo to your system as per /etc/lilo.conf. LILO itself is executed as part of the boot sequence from the MBR. Its not something you can just execute from the command line.

cheers

Jamie...
 
Old 07-09-2001, 02:06 PM   #7
HHH
Member
 
Registered: Jun 2001
Posts: 78

Original Poster
Rep: Reputation: 15
Sorry for responding so late. It turned out that the MIS/IT people knew something that I didn't...the proxies. Now I am on the web!!!

But I have one problem now. Everytime I login/logout, I get this message:

GNOME cannot locate localhost. This may disrupt GNOME's work. Try adding localhost to /etc/hosts.

Now, after reading that, I login in with "welcome localhost". What's going on?

Also, I checked the ifconfig command and if your still interested or need it, I can give it to you.

Thanks for all your help!!!

HHH
 
Old 07-09-2001, 05:12 PM   #8
HHH
Member
 
Registered: Jun 2001
Posts: 78

Original Poster
Rep: Reputation: 15
Now FTP works but telnet doesn't!!! (Except telnet to myself)

It seems that I can't telnet to anything, words or IP addresses, even though I can surf the web. I am thinking that this is related to my previous post about having an error message before booting up.

Anybody know what's wrong?

Thanks in advance!

HHH
 
Old 07-09-2001, 05:26 PM   #9
HHH
Member
 
Registered: Jun 2001
Posts: 78

Original Poster
Rep: Reputation: 15
Just as a supplement, here is what I got when I tried ifconfig:

eth0 Link encap:Ethernet HWaddr 00:02:B3:3D:69:A0
inet addr:10.61.100.24 BCast:10.61.100.255 Mask: 255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric 1
RX packets: 2223 errors:0 dropped:0 overruns: 0frame:0
TX packets: 9errors:0 dropped:0 overruns:0 carrier:0 collisions: 0 txqueuelen:100
Interrupt:12 Base address:0xd00

lo Link encap: local loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP BROADCAST RUNNING MTU:3924 Metric 1
RX packets: 94 errors:0 dropped:0 overruns: 0frame:0
TX packets: 94 errors:0 dropped:0 overruns:0 carrier:0 collisions: 0 txqueuelen:0

Hope this helps!

HHH
 
Old 07-09-2001, 05:35 PM   #10
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
The local host problem will probably be solved by adding the following line to /etc/hosts
Code:
127.0.0.1       localhost
and then check that /etc/host.conf contains
Code:
order hosts, bind
multi on
As for the telnet - you mean other machines on your LAN or machines out on the Internet? If its LAN machines then the only thing I can think of is your firewalling rules (local ones). Check your ipchains/iptables setup. If its machines out on the web then I'm not surprised, you probably don't have a direct route out onto the Internet. However did this work before?

cheers

Jamie...
 
  


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
Can't Get on Network, Network Config Help needed scbmls Linux - Hardware 1 08-15-2005 11:43 AM
sendmail for internal network and network config questions RedHat123 Linux - Networking 0 04-06-2005 03:15 PM
how redgat-network-config to windows network arpi Linux - Networking 1 08-10-2004 06:10 PM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 04:04 PM
DHCP client problems - network config RedHat123 Linux - Networking 1 12-16-2001 12:52 PM

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

All times are GMT -5. The time now is 05:07 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
Open Source Consulting | Domain Registration