Jump to content

wireless [solved]


hirohitosan
 Share

Recommended Posts

Hi. I don't understand what's happened with my wireless connection. When start my computer the wireless just doesn't work (in win it works). I did something like

# modprobe ath_pci
# ifconfig ath0 up
# wlanconfig ath0 list scan
SSID			BSSID			  CHAN RATE  S:N   INT CAPS
JICA			00:02:2d:81:55:a1	1   11M  9:0   100 E
JICA			00:02:2d:b0:89:53	5   11M 25:0   100 E
JICA			00:02:2d:b0:8c:23   13   11M  4:0   100 E

 

I don't know what to do. I tried to reinstall the MadWifi driver but another error:

# make
/bin/sh: line 0: cd: /lib/modules/2.6.12-12mdk-i686-up-4GB/build: No such file or directory
Makefile.inc:89: *** /lib/modules/2.6.12-12mdk-i686-up-4GB/build is missing, please set KERNELPATH.  Stop.

 

I don't understand what was happened. Can you give me some advices.

 

Thank

Link to comment
Share on other sites

Do you have your kernel-source installed and does it match your running kernel?

 

Do uname -r to find out running kernel and make sure it matches the kernel-source installed:

 

rpm -qa | grep kernel

Link to comment
Share on other sites

Upgrade your kernel to kernel-i686-up-4GB-2.6.12.22mdk.

 

Alternatively, latest kernel and kernel source is as follows:

 

[ian@europa ~]$ rpm -qa | grep kernel
kernel-i686-up-4GB-2.6.12.25mdk-1-1mdk
kernel-source-2.6.12.25mdk-1-1mdk

 

and that should do the trick. Make your you have your easyurpmi sources configured (main, contrib, updates, plf-free and plf-nonfree) although the kernel and kernel-source just comes from updates.

Link to comment
Share on other sites

Upgrade your kernel to kernel-i686-up-4GB-2.6.12.22mdk.

I don't know how to do that

Make your you have your easyurpmi sources configured (main, contrib, updates, plf-free and plf-nonfree) although the kernel and kernel-source just comes from updates.

I have configured all but it seems that it doesn't come from updates

I did

# urpmi --auto-select
# urpmi.update -a
# urpmi --auto-select --resume

After that

rpm -qa | grep kernel
kernel-source-2.6-2.6.12-22mdk
kernel-i686-up-4GB-2.6.12.12mdk-1-1mdk

I don't know how to upgrade my kernel

Link to comment
Share on other sites

OK, nice and easy:

 

urpmi kernel-i686-up-4GB-2.6.12.25mdk

 

and then kernel-source separate if you like with:

 

urpmi kernel-source-2.6.12.25mdk

 

or, you can do both together with:

 

urpmi kernel-source-2.6.12.25mdk kernel-i686-up-4GB-2.6.12.25mdk

 

and then both will get installed at same time. Boot loader is automatically modified, so make sure you choose the linux-i686-up-4GB option as this is the one that will boot the newly installed kernel. Then check with:

 

uname -a

 

and:

 

rpm -qa | grep kernel

 

to see that all is installed. It doesn't get updated automatically with updates.

Link to comment
Share on other sites

I did

urpmi kernel-i686-up-4GB-2.6.12.25mdk

and

urpmi kernel-source-2.6.12.25mdk

after instalation my lilo.conf looks like

default="windows"
boot=/dev/hda
map=/boot/map
install=menu
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=6000
message=/boot/message
image=/boot/vmlinuz
label="linux"
root=/dev/hda4
initrd=/boot/initrd.img
append="resume=/dev/hda3"
vga=788
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda4
initrd=/boot/initrd.img
append="resume=/dev/hda3"
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda4
initrd=/boot/initrd.img
append="failsafe resume=/dev/hda3"
other=/dev/hda1
label="windows"
table=/dev/hda
image=/boot/vmlinuz-i686-up-4GB
label="linux-i686-up-4GB"
root=/dev/hda4
initrd=/boot/initrd-i686-up-4GB.img
append="resume=/dev/hda3"
vga=788
image=/boot/vmlinuz-2.6.12-25mdk-i686-up-4GB
label="2612i686up4G-25"
root=/dev/hda4
initrd=/boot/initrd-2.6.12-25mdk-i686-up-4GB.img
append="resume=/dev/hda3"
vga=788

I booted in "2612i686up4G-25"

after that:

uname -a
Linux localhost 2.6.12-25mdk-i686-up-4GB #1 Fri Aug 18 13:59:05 MDT 2006 i686 Intel(R) Pentium(R) M processor 1500MHz unknown GNU/Linux
# rpm -qa | grep kernel
kernel-source-2.6-2.6.12-22mdk
kernel-i686-up-4GB-2.6.12.12mdk-1-1mdk
kernel-source-2.6.12.25mdk-1-1mdk
kernel-i686-up-4GB-2.6.12.25mdk-1-1mdk

I don't know if this is good or not. I don't understand why "unknown GNU/Linux" and also I don't understand the output of # rpm -qa | grep kernel

 

I did something wrong?

 

and do I need all that options at boot?

Link to comment
Share on other sites

Yes, that's perfectly fine. You could now remove the old kernel:

 

urpme kernel-i686-up-4GB-2.6.12.12mdk kernel-source-2.6-2.6.12.22mdk

 

and just leave the latest kernel installed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...