LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Using kernel-headers in fresh Ubuntu install (https://www.linuxquestions.org/questions/ubuntu-63/using-kernel-headers-in-fresh-ubuntu-install-485444/)

josno 09-20-2006 06:16 PM

Using kernel-headers in fresh Ubuntu install
 
I'm trying to install my wireless card (WMP54G with RT61 chipset) on the latest version of Ubuntu. I've managed to install build-essentials from the LiveCD repository, but nothing appears in /usr/src so I can't 'make' the drivers. I also can't use apt-get unless I really have to as it means lugging my pc somewhere else. Anyone got any suggestions? I've already tried sudo aptitude install kernel-headers-`uname -r` without success (I installed build-essentials with the same method).

Thanks,

Joe

josno 09-21-2006 07:45 AM

OK, so I managed to install the Kernel Headers. I've made the drivers according to this guide, but I can't edit rt61sta.dat using
Code:

$ vi -b rt61sta.dat
(it's read only), and I can't run
Code:

$ iwconfig ra0 essid myssid/mode managed
as it says "Set failed on device ra0 ; the operation is not permitted". If I do an iwconfig it shows up as having the RT61 drivers, rt61 appears in the modules list. Anyone have any suggestions?

syg00 09-21-2006 08:08 AM

Try sudo for the "vi" - better is to try something like "sudo gedit ..."
As for the "iwconfig ...", try using the menus - "System > Network settings".

Highlight the interface, and proceed from there.

josno 09-21-2006 08:23 AM

Ok, well it seems I wasn't using sudo for the iwconfig commands before. I did sudo iwconfig ra0 mode managed and it liked that (or at least it didnt complain), but I tried sudo iwconfig ra0 essid myssid and it just hung doing nothing - it seems to do that a lot with various things: is that normal?

Using the "System > Network Settings" dialog doesn't work - the ra0 device says it's not configured, I can't activate it, and when I click on properties it hangs again. Quite annoying, that hanging, as I can't do anything else - not even shutdown/restart so I have to do a hard reset.


All times are GMT -5. The time now is 12:05 PM.