Linux - NetworkingThis 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.
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.
hello,
i've been trying 2 get webmin 2 work and i came across this trouble on my machine. webmin is supposed 2 work on the localhost port 10000 but i notice when i do a netstat I get this output:
root@localhost Downloads]# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:9099 *:* LISTEN
tcp 0 0 *:10000 *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
udp 0 0 *:10000 *:*
udp 0 0 localhost:domain *:*
udp 0 0 224.0.0.251:5353 *:*
I've not seen the notation *:10000 b4. I try pinging localhost & 127.0.0.1 and i get nothing back. my dialup is working fine and i can ping this website no problem and yes my hosts file has the localhost entry. obviously what I thought was a problem w/webmin is more a problem w/my tcp/ip stack. Being a Windows person and a Linux newbie(I'm runing mandrake 9.1) I was wondering if anyone had suggestions on what might be wrong here....
ok thanks I'll try that command when I get back to work on monday. I always thought ifconfig was part of the wireless tools set only. I just issued the command on my laptop at home and got back both the wireless adapter and "lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1"
And i could ping localhost no problem.I'm just a little confused coming from the Windows World. You're saying u have to add the local loopback port 127.0.0.1? I thought that was done automatically on installation of the tcp/ip stack? I'll try the command and give u a heads up if it works.
thanx,
alan
thanx that command brought up local loopback and now Webmin comes up when I put the Localhost address in browser. One followup question. Will the local loopback always come up now on bootup or do I have to change some file etc?
thanx,
alan
unfortunetly the local loopback does not come up on bootup. I did some checking and i do have the ifcfg-lo file w/the proper settings in it but it is not running on boot. Any suggestions on how I would get ifcfg-lo to run on startup....
Try adding the command /sbin/ifconfig lo up 127.0.0.1
to wherever your INIT starts up your network interfaces. Its possible, although unlikely, that the localhost interface may be commented out or not even in the config file.
thanx for the answers. i do have the ifcfg-lo file in etc/networking-scripts. i compared it to my home computer which is also running mandrake 9.1 and they are identical. does anyone know which script calls ifcfg-lo so i can check that out? I shoul add that my dial-up connection works fine all the time. does that mean my network services is starting ok? I also have the output from the network status command:
[root@localhost cot]# service network status
Configured devices:
lo ppp0 tr0
Currently active devices:
ppp0
Also was poking around in etc/rc.d/init.d/networking and the only line I saw that pertained 2 bringing up the Local Loopback that I could make was:
# bring up loopback interface
action "Bringing up loopback interface: " ./ifup ifcfg-lo
Does this look right? I come from windoze world so reading shell scripts is not part of my usual troubleshooting procedure....
What your service network status command is retruning indicates that only ur ppp device is active. I take that to be your dial-up connection. Ensure that you ifcfg-lo file has the line
ONBOOT=yes
If your network service is starting up properly...and the logs indicate nothing....try running the "ifup lo" command on startup...
hello,
here is contents of ifcfg-lo:
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
where would i put the ifup lo command? I guess what I am asking is who invokes the ifcfg-lo file. Coming from Windows I would for example be looking in the autoexec.bat file. How does ifcfg-lo or any ifcfg file get "called"? and once again I would assume if my ppp0 interface is working does that imply network services has started ok?
hello again, in the words of emily latella "never mind". I'm sorry I didnt RTFM b4 posting. Looking closer in Mandrake CC under Draksvcs I had networking unchecked. As soon as i checked it and rebooted loopback is up on startup. But if someone still has the patience w/newbie. What does checking the Network service do? Why is ifcfg-lo now being run. And I would like to know because this computer has an old IBM token ring card that also now starts up. I would really like this not come up on every bootup. I do have ifcfg-tr0 set to bootup=no but when I do ifconfig -a I see it is up and running. In fact I think that is why I disabled networking when I first installed Linux because that token ring card was causing a hang on bootup. Thanx for every one input...
Network is the service controlling all the network devices....
Therefore checking it i believe sets it to be run on boot. Once this service is started all configured devices are setup and some are put up dependant on whether they are to come up on boot
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.