LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2009, 11:05 AM   #16
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by aus9 View Post
it is a kernel module...check your /boot/config-(some kernel version name)...mine is shown under # Wireless LAN
CONFIG_ATH5K=m

the m means its a module...if it is a y you have it at boot up...if its n for no then you need to re-compile your kernel....and if that is the case...maybe you need to change your distro...joke
I have checked the /boot/config for kernel 2.6-25-1.1 default and pae and in the wireless section it does not show Config_ath5k=m or anything with ath5k or any thing like madwifi.
I can copy it from the config file and output the results if you want to.
 
Old 09-14-2009, 11:12 AM   #17
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
=jschiwal;3680996]With the ath5k kernel module loaded,

please run "sudo /sbin/lspci -v" | sed -n '/Atheros/,/^$/p'
sonroy@linux-8aqf:~> sudo /sbin/lspci -v | sed -n '/Atheros/,/^$/p'
root's password:
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Subsystem: Device 1a3b:1026
Flags: fast devsel, IRQ 16
Memory at fa9f0000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Kernel modules: ath5k

and
Quote:
"sudo /sbin/lspci -n".
sonroy@linux-8aqf:~> sudo /sbin/lspci -n
00:00.0 0600: 1002:5a31 (rev 01)
00:01.0 0604: 1002:5a3f
00:04.0 0604: 1002:5a36
00:05.0 0604: 1002:5a37
00:06.0 0604: 1002:5a38
00:07.0 0604: 1002:5a39
00:12.0 0106: 1002:4380
00:13.0 0c03: 1002:4387
00:13.1 0c03: 1002:4388
00:13.2 0c03: 1002:4389
00:13.3 0c03: 1002:438a
00:13.4 0c03: 1002:438b
00:13.5 0c03: 1002:4386
00:14.0 0c05: 1002:4385 (rev 13)
00:14.1 0101: 1002:438c
00:14.2 0403: 1002:4383
00:14.3 0601: 1002:438d
00:14.4 0604: 1002:4384
01:05.0 0300: 1002:5a62
02:00.0 0200: 168c:001c (rev 01)
06:00.0 0200: 1969:2048 (rev a0)

Also post the results of
Quote:
"uname -r".
> uname -r
2.6.25.5-1.1-default

Ok let me know. thanks
bamtoy
 
Old 09-14-2009, 07:27 PM   #18
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

if you review your post number 12...you report

lsmod | grep ath5k
ath5k 109572 0
mac80211 190484 | ath5k

so maybe you have more than one config file?

Because you were able to load ath5k module.

2)

You report your kernel as 2.6.25.5-1.1-default
My aussie mirror suggests that kernel has been updated to a 2.6.25.20 series


Maybe you may like to update your kernel.



The kernel is the source for Linux drivers.
eg I run a 2.6.30-5 series kernel.

The more the recent the kernel...the more stuff is available for drivers....as a general rule.
 
Old 09-14-2009, 08:00 PM   #19
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

this post only refers to one of the competitors to the Linux kernel module ath5k.

it refers to madwifi.

Your ids are manufacturer 1a3b product or model 1026

http://madwifi-project.org/wiki/Compatibility/Atheros

2) the site...does not mention your ids verbosely.

instead we need to guess it may be one (hopefully) of these

AR5006EG
AR5007EG

and trying another way...there appears to be only one mention of asus on that page.
 
Old 09-14-2009, 08:12 PM   #20
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
this post tries to explain what I am attempting....with a handball to jschiwal if he thinks I am wrong.

1) Choose method....your chipset may work with a recent Linux kernel from opensuse using ath5k or
it may work using a windows driver and the software called ndiswrapper or
it may work with madwifi...using the madwifi driver or the madwifi's version of their ath5k

2) The easiest is to install the most recent kernel...which is sound security practice....and (initially) manually load (modprobe) the ath5k module then use your network gui to configure wlan....if it works you file a module file to pre-load the ath5k and set up your networks scripts to automatically configure the network

and while manually or automatically having wlan...you should stop/disable any modules and configs that attempt any wired internet thru eth0

3) Next is the madwifi way.....you blacklist the current kernel's ath5k in the blacklist ...to stop it loading....you download the latest madwifi app and install it...the site has docs....but if you download the latest madwifi...and unpack it...it has a folder full of docs. Now if opensuse...version number matches the madwifi site's version ...as you are a beginner..please use the opensuse edition. But it is important to use the most recent edition to maximise the chance the driver will work.

I do not have your hardware so can not help any further on that matter

4) Next is the ndiswrapper way....you have a dual boot and allow the software to find the windows driver...OR...you download the windows driver and either way use it. Naturally you also need to blacklist any module that might attempt to give you a wired or wireless connection

5) Ditto but try wicd for network management instead of your opensuse network manager
http://en.opensuse.org/Wicd#Installation

Last edited by aus9; 09-14-2009 at 08:22 PM.
 
Old 09-15-2009, 05:27 AM   #21
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9 View Post
1) Choose method....your chipset may work with a recent Linux kernel from opensuse using ath5k or it may work using a windows driver and the software called ndiswrapper or it may work with madwifi...using the madwifi driver or the madwifi's version of their ath5k
I think I will go for ath5k as madwifi is on the way out.
Quote:
2) The easiest is to install the most recent kernel...which is sound security practice....and (initially) manually load (modprobe) the ath5k module then use your network gui to configure wlan....if it works you file a module file to pre-load the ath5k and set up your networks scripts to automatically configure the network
Is this kernel OK for updating? Do I have to COMPILE it? How do I do that?

http://download.opensuse.org/debug/u...0-0.5.i586.rpm
I got it from this site.
http://www.f-secure.com/vulnerabilities/en/SA200904395
Quote:
3) Next is the madwifi way..
I will try ath5k first

Quote:
5) Ditto but try wicd for network management instead of your opensuse network manager
http://en.opensuse.org/Wicd#Installation
I had used wicd with Ubuntu and have the link(suse) to do it.

Last edited by bamtoy; 09-15-2009 at 05:28 AM.
 
Old 09-15-2009, 09:39 AM   #22
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9 View Post
hi

this post only refers to one of the competitors to the Linux kernel module ath5k.
it refers to madwifi.
Your ids are manufacturer 1a3b product or model 1026
2) the site...does not mention your ids verbosely.
instead we need to guess it may be one (hopefully) of these
AR5006EG
AR5007EG
It seems that AR5007EG is correct seeing some Ubuntu site
 
Old 09-15-2009, 12:43 PM   #23
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
Hi
I am trying to update the kernel for 2.6.25-1.1 opensuse 11.0.
I got this 'compat-wireless-old.tar.bz2' from this site
http://linuxwireless.org/en/users/Do...t-wireless-old to update the driver
I downloaded to my home folder .
I then followed the instructions
Quote:
Extract the content of the package:
Code:
tar jxvf compat-wireless-old.tar.bz2
Build:
Build the latest Linux wireless subsystem:
Code:
cd compat-wireless-old.tar.bz2
make
Install:
We use the updates/ directory so your distribution's drivers are left intact.
Code:
sudo make install
Output of
Code:
cd compat-wireless-old.tar.bz2
make
tar: compat-wireless-old.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

I cant get anywhere with the kernel update.
 
Old 09-15-2009, 06:28 PM   #24
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

your post #23....please update your kernel using your package manager.

I do not use Opensuse so look at your dox on how that is done please. this might work?
http://en.opensuse.org/Start_the_YaST_Control_Center

2) when you update it...you will need to reboot your computer and use grub/lilo or whatever bootloader you use...to select the latest kernel and boot into it.


3) the instruction on this page appears to be wrong
http://linuxwireless.org/en/users/Do...t-wireless-old

cd....ending in bz2 is an error...delete the bz2 as you should have already unpacked a folder.

BUT that way requires you to build a module but when you previously modprobe ath5k...you already had
mac80211 190484 | ath5k.....as previously reported

4) Can I suggest you concentrate on upgrading your distro's kernel

if you do not know how to do that after reading the link...start a new thread in this forum
http://www.linuxquestions.org/questions/susenovell-60/

because maybe you have got to have some files installed that you are lacking and I have no expertise on suse like distros.
 
Old 09-16-2009, 01:58 PM   #25
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9 View Post
hi
please update your kernel using your package manager.
No internet.It wont work with my package manager.

Quote:
4) Can I suggest you concentrate on upgrading your distro's kernel
Yes I am doing that.
Quote:
if you do not know how to do that after reading the link...start a new thread in this forum
I have started a new thread as suggested.
 
Old 09-18-2009, 11:19 AM   #26
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
I tried to do an update of kernels but get this.
sonroy@linux-8aqf:~> cd linux-2.6.31
sonroy@linux-8aqf:~/linux-2.6.31> make
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel config file ".config")
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
sonroy@linux-8aqf:~/linux-2.6.31>
---
I have tried to update but wont work.
 
Old 09-18-2009, 07:47 PM   #27
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

question 1)
Does your new post here, mean that no-one in Novell forum could help you update your kernel?

http://www.linuxquestions.org/questi...use-11-755554/

sorry to sound rude but I need to be re-phrase to be clearer...

I have said according to my repos...your kernel number is NOT the most recent available to you.

I have asked you to update your kernel meaning update to the lastest Opensuse kernel.

Maybe you should state what kernel number you have and what is available and ask ....how do I update?

I can not help you....I do not use Opensuse but someone there must know?

Do you know how to search your repo using a web browser?
here is mine assuming you have opensuse 11.0

http://mirror.internode.on.net/pub/o...11.0/rpm/i586/

you could try downloading the
kernel-default-2.6.25.20.0-5.i586.rpm
and clicking on it in your file manager that may call up the root rpm manager?


question 2)
I think you are using a vanilla kernel. Can you confirm pls?

3) leaping ahead.....the way I compile a vanilla kernel may not be the Suse way but since you may be asking for any kind of help, forgive me for my input.

A)
altho some parts can be done without root powers assume all below do pls

Your distro should have dox on what dependencies your system need before compile can occur...eg gcc
use root powers to make directory (if not there)
mkdir /usr/src/

i) downloading your distro's kernel source files may be enough to get those dependencies?

the unpack of your vanilla can be in a different folder but symlinks to /usr/src/linux

eg ln -s /opt/2.6.31 /usr/src/linux

You may also need other symlinks but lets move on.

Code:
su
cd /opt/2.6.31
make mrproper
make menuconfig
make && make modules && make modules_install && make install
then check your distro script has updated grub...if not put a kernel into /boot/ and run update-grub

your distro should also make a new initrd for you..if not you may have to run a command that MAY be called
mkinitrd but I am not sure what suse calls it

4) I really really can not help you find out what your missing dependencies might be...but by running those commands..... your system will complain if its missing stuff so then you use your package manager to install them.

summary

suggest you rephrase your question if downloading the rpm file from the link I pointed to does not work....at the other link in novell forum

Last edited by aus9; 09-18-2009 at 07:49 PM.
 
Old 09-19-2009, 04:22 AM   #28
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9 View Post
hi
question 1)
sorry to sound rude but I need to be re-phrase to be clearer...
Yes you are right.I have not written it correctly in my question. The web search shows compiling a kernel and I think that is different from updating.
I have read doc on compiling and updating, both seem similar. So the confusion.

Quote:
Do you know how to search your repo using a web browser?
here is mine assuming you have opensuse 11.0
I have not come across such mirrors, so that means I dont know how to do it.
So how do I find a mirror for the UK?

Quote:
you could try downloading the kernel-default-2.6.25.20.0-5.i586.rpm
and clicking on it in your file manager that may call up the root rpm manager?
I found kernel 2.6.31 on http://kernel.org/.
I used make , make install commands . does not work. I will wait for an answer on the network forum.
Here is the output.
bamtoy@linux-8aqf:~/linux-2.6.31> make
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel config file ".config")
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig"



Quote:
question 2)
I think you are using a vanilla kernel. Can you confirm pls?
It should be . It is downloaded from suse site. It is 2.6.25.1.1 default.

Quote:
3) leaping ahead.....the way I compile a vanilla kernel may not be the Suse way but since you may be asking for any kind of help, forgive me for my input.
It is tough to compile a kernel.The documents I read , show a lot of commands to run.

Quote:
altho some parts can be done without root powers assume all below do pls
Your distro should have dox on what dependencies your system need before compile can occur...eg gcc
Are you talking about these
gcc-4.3-34.168.i586.rpm
gcc-c++-4.3-34.168.i586.rpm
gcc43-c++-4.3.3_20081022-9.5.i586.rpm
gcc43-4.3.3_20081022-9.5.i586.rpm
make-3.81-128.9.i586.rpm
cmake-2.6.2-2.19.i586.rpm
kernel-source-2.6.27.7-9.1.i586.rpm
linux-kernel-headers-2.6.27-2.28.noarch.rpm
They are the dependencies before compiling. Yes I tried downloading them
Quote:
use root powers to make directory (if not there)
mkdir /usr/src/
i) downloading your distro's kernel source files may be enough to get those dependencies?
I will check this.
Quote:
summary
suggest you rephrase your question if downloading the rpm file from the link I pointed to does not work....at the other link in novell forum
]
If 2.6.31 does not work , then I will use 2.6.25.20 as you suggested.
Thank you very much.
 
Old 09-19-2009, 04:50 AM   #29
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
Quote:
Originally Posted by bamtoy View Post

I found kernel 2.6.31 on http://kernel.org/.
I used make , make install commands . does not work. I will wait for an answer on the network forum.
Here is the output.
bamtoy@linux-8aqf:~/linux-2.6.31> make
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel config file ".config")
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig"




It should be . It is downloaded from suse site. It is 2.6.25.1.1 default.


It is tough to compile a kernel.The documents I read , show a lot of commands to run.
you have to run
Code:
make menuconfig
before running
Code:
make
 
Old 09-19-2009, 06:17 AM   #30
bamtoy
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mobinskariya View Post
you have to run
Code:
make menuconfig
before running
Code:
make
Before doing anything I must know the difference between compiling a kernel and updating a kernel.
Is it the same as building a kernel . What is configuring a kernel?
PHP Code:
http://wireless.kernel.org/en/users/Download/compat-wireless-old says
1. Extract the content of the package: [CODE]
tar jxvf compat-wireless-old.tar.bz2[/CODE]
2. Build the latest Linux wireless subsystem
[
QUOTE]cd compat-wireless-old.tar.bz2 make[/QUOTE]
3. Install
[
QUOTE]sudo make install[/QUOTE
PHP Code:
http://www.lucidtips.com/2008/09/06/wireless-using-w200-on-opensuse-110/
Before we proceed further we need to configure the kernel source
[CODE]cd /lib/modules/$(uname -r)/build/
su
(root password)
cp /boot/config-$(uname -r) .config
make oldconfig
make prepare
[/CODE]
Download the suitable revision of the orinoco_usb driver from SVN. For me revision 1297 has worked correctly.
Compile and install the driver
[CODE]cd usb
make
sudo make install
[/CODE
So you see I get confused.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] DSL connection slow on Linux wired connection but fast on Windows wireless Pandarsson Linux - Wireless Networking 9 12-17-2010 05:55 PM
wireless connection dosn't work on dell inspirion 6400 after installing opensuse 10.3 doronkimchi Linux - Laptop and Netbook 2 05-03-2008 03:51 AM
opensuse 10.2 no wireless internet connection jettwa2001 Linux - Newbie 4 12-22-2007 11:58 AM
wireless connection ok with knoppix dvd , no connection with installed fedora 4 docharmony Linux - Wireless Networking 2 11-27-2005 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration