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.
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113
Rep:
probably a path issue
Root has a different path than a regular user. The command may be in /sbin or someplace like that which is in root's path, but not in everyone else's.
I believe that "su -" or "su -root" gets you root's environment (including path) but "su" or "su root" does not. Try "su -" then enter the root password. You'll probably be able to ifconfig then.
when you su as root, type $PATH to view your current path. the ifconfig command is usually found in the /sbin directory... it may differ though from distro to distro. try doing a find on it, if you still have problems issueing the command, then at least if you know you have the full path, you can always run it that way.
Though...when I use the su command and move to the sbin directory, I still cant
run ifconfig. Im running RH 7.2.
Also,,is there a single tool that would allow me to view, stop, start and disable services (particularly network
related)? For example, renewing DHCP assigned IP address, or reloading network services after I change something? Im trying to avoid doing management tasks from the kde window...I just want the command lines or general deamons involved.....Thanks
why in redhat 7.1 and 7.2 when i manually edit the files ifcfg-eth0 and ifcfg-eth1 for new IP addresses, then i reset the network via /etc/rc.d/init.d network restart the changes doesn't happen anymore? has 7.2 changed the files already? before in 7.0 and lower this can be done. am not sure for 7.1 though, but i think it is same with this problem in 7.2. what i do is to run startx and edit there in network configuration, then restart the machine so the changes would takle effect. that's too bad Linux mustn't be restarted just to change IP address???!!!
Originally posted by jtdc what i do is to run startx and edit there in network configuration, then restart the machine so the changes would takle effect. that's too bad Linux mustn't be restarted just to change IP address???!!!
usually changes take affect immediately.. if they don't you can always try the ifconfig eth0 down ... then up. or add the configs you want with the ifconfig and route right at the command line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.