Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-05-2001, 03:30 PM
|
#1
|
Member
Registered: Jun 2001
Posts: 78
Rep:
|
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
|
|
|
07-05-2001, 05:49 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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 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...
|
|
|
07-05-2001, 06:23 PM
|
#3
|
Member
Registered: Jun 2001
Posts: 78
Original Poster
Rep:
|
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!
|
|
|
07-05-2001, 06:40 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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 at the command prompt, then 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...
|
|
|
07-05-2001, 07:28 PM
|
#5
|
Member
Registered: Jun 2001
Posts: 78
Original Poster
Rep:
|
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
|
|
|
07-05-2001, 07:45 PM
|
#6
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-09-2001, 03:06 PM
|
#7
|
Member
Registered: Jun 2001
Posts: 78
Original Poster
Rep:
|
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
|
|
|
07-09-2001, 06:12 PM
|
#8
|
Member
Registered: Jun 2001
Posts: 78
Original Poster
Rep:
|
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
|
|
|
07-09-2001, 06:26 PM
|
#9
|
Member
Registered: Jun 2001
Posts: 78
Original Poster
Rep:
|
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
|
|
|
07-09-2001, 06:35 PM
|
#10
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 04:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|