 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

28th September 2007, 03:02 AM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Melbourne
Posts: 76

|
|
|
ifconfig, iwconfig disabled?
Hi, just curious why i cant do an ifconfig or an iwconfig:
Code:
[benjo@localhost ~]$ ifconfig
bash: ifconfig: command not found
[benjo@localhost ~]$ iwconfig
bash: iwconfig: command not found
Is it disabled by default?
__________________
Ej-oo-kay-shun 4 all not just the rich.</microsoft>
Fedora8. P4, Gigabyte LGA775, nVidia FX 5200
Fedora8. HP DV2000, Centrino DUO, nVidia FX7200
Fedora8. Dell OptiPlex 755, ATI Radeon HD 2400 XT
|

28th September 2007, 03:06 AM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: South Carolina
Posts: 798

|
|
Benjo,
Become root and you can do it.
|

28th September 2007, 03:50 AM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Melbourne
Posts: 76

|
|
|
Slapping myself on the face right now.
Sorry, it's been a long 3 days, up until 3am every morning trying to get this laptop installed. Wireless is doing my head in, it's the only excuse i have.
__________________
Ej-oo-kay-shun 4 all not just the rich.</microsoft>
Fedora8. P4, Gigabyte LGA775, nVidia FX 5200
Fedora8. HP DV2000, Centrino DUO, nVidia FX7200
Fedora8. Dell OptiPlex 755, ATI Radeon HD 2400 XT
|

28th September 2007, 03:56 AM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,305

|
|
|
You don't need to be root. The problem is that these programs are in a directory whic his NOT be default on the non-root user's path. If you type /sbin/ifconfig or whatever it should work.
A better solution is to do this command once as root ...
sed -i s/\$EUID/0/g /etc/profile
After that the system tools will be on everyone's path.
|

28th September 2007, 04:02 AM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Melbourne
Posts: 76

|
|
|
That's very cool, thank you.
Im in my first year of a networking degree and i appreciate all these great little tips. (one day i may actually understand whats happening in all that code).
__________________
Ej-oo-kay-shun 4 all not just the rich.</microsoft>
Fedora8. P4, Gigabyte LGA775, nVidia FX 5200
Fedora8. HP DV2000, Centrino DUO, nVidia FX7200
Fedora8. Dell OptiPlex 755, ATI Radeon HD 2400 XT
Last edited by benjo; 28th September 2007 at 04:06 AM.
|

28th September 2007, 02:03 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: South Carolina
Posts: 798

|
|
|
Linux and wireless can be very tricky too. I have had mild successes and great failure getting it to work, but outside of that it's a great OS.
|

28th September 2007, 02:08 PM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
Quote:
|
Originally Posted by stevea
You don't need to be root. The problem is that these programs are in a directory whic his NOT be default on the non-root user's path. If you type /sbin/ifconfig or whatever it should work.
A better solution is to do this command once as root ...
sed -i s/\$EUID/0/g /etc/profile
After that the system tools will be on everyone's path.
|
That's pretty cool. I usually recommend adding /sbin, /usr/sbin to your path in ~/.bash_profile but your solution is particularly elegant.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 02:54 (Monday, 27-05-2013)
|
|
 |
 |
 |
 |
|
|