LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dhcpclient >unknown command (https://www.linuxquestions.org/questions/linux-newbie-8/dhcpclient-unknown-command-495711/)

mkjunior 10-26-2006 06:20 AM

dhcpclient >unknown command
 
dear friends

i finally got my wg111 working with ndiswrapper and able to scan

to configure i used

iwlist wlan0 scan

iwconfig wlan0 essid tri-pack key restricted CB18348694
THEN WHEN I USE THIS COMMAND TO SETUP DHCP

# dhcpclient wlan0

I GET ERROR COMMAND NOT RECOGNIZED

ANY BODY CAN HELP ME?

d2490n 10-26-2006 07:41 AM

did you try dhcpcd?

tredegar 10-26-2006 09:42 AM

I think you'll find the command you need is
dhclient wlan0

HTH

mkjunior 10-27-2006 04:25 AM

thanks a thousand tredegar.by the way another question when i installed the latest kernel files and restarted i saw a new boot loader option 'previous kernel suse 10' how do i remove it?

one more thing is when i try installing nvidia drivers it says disable xserver how do i achive that

tredegar 10-27-2006 09:24 AM

Quote:

i saw a new boot loader option 'previous kernel suse 10' how do i remove it?
Well, most people wouldn't remove it, it doesn't take up much space, and you might want the option to load your old kernel if you have problems with the new one.
If you really want to remove it from the boot menu, you'll have to edit /boot/grub/menu.lst or /etc/lilo.conf, depending on whether you are using grub or lilo as your bootloader.

Quote:

when i try installing nvidia drivers it says disable xserver how do i achive that
You'll need to make sure you are happy with the basic command line, and an old-fashioned text editor before you do this, or you will be totally lost! Almost all linux distros come with vi and it takes only a few minutes to learn how to use vi to insert / delete text in files, and save (or discard) the changes. Make the time to learn basic vi!

Different distros are different, & I do not use suse, so take a look at the file /etc/inittab. There should be a comment telling you what the "runlevels" are for your distro. Mostly you'll find "0" is halt, "3" is multiuser mode, and "5" is running X.
To kill X, open a proper text terminal (<CTL><ALT><F1>), login as yourself and then use su to become root so you can switch to runlevel 3 like this:

init 3

X will be killed. Install the nvidia stuff according to the instructions. (Remember, you are root, be careful!)
Exit from being root like this:
exit

And now try to start your X server like this:

startx
All should be well, or you will see some error messages. Your X session will be on the terminal at <CTL><ALT><F7>, and your text terminal will still be at <CTL><ALT><F1>. You can switch between them, or even open another text terminal with <CTL><ALT><F2>

When you next reboot, you should find yourself with X running properly.

I do not wish to appear unfriendly, but most of these sort of questions have already been answered many times before. These pages have a handy little SEARCH button - please try it!

HTH


All times are GMT -5. The time now is 07:40 PM.