LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-21-2010, 05:32 PM   #16
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23

For ndiswrapper you will need to extract the files on a windows computer unless someone knows a better way.
Disabling security. I meant on your router. NO wep or wpa until you can get on the internet wireless. Then work on wpa/wep.
Have you tried iwconfig to set your essid again?
If you still have the firmware installed you could try removing the wl module.
Then do iwconfig to set your essid.
With the huge kernel the b43 drivers should already be loaded.
However I would still switch to generic kernel.

Last edited by mryuck; 02-21-2010 at 05:36 PM.
 
Old 02-21-2010, 06:21 PM   #17
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
okay yeah i think thats a good idea to disable the security on the router...hopefully that will fix it temporarily

i do want to boot the generic kernel though...thats what i like about linux is that everything isn't preloaded in the kernel (or so i thought)

where should this file be at? I'm reading the readme and i've gotta install it but i can't seem to find it (hopefully just cause I'm looking in the wrong place)

Code:
root@darkstar:~# installpkg kernel-generic-2.6.29.5-i686-1.tgz
cannot install kernel-generic-2.6.29.5-i686-1.tgz: file not found
root@darkstar:~#
 
Old 02-21-2010, 06:24 PM   #18
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
below is the contents of my boot folder -which is where it seems like the kernel-generic file should be...

Code:
root@darkstar:/boot# ls
README.initrd@                       System.map-huge-smp-2.6.29.6-smp  config-generic-smp-2.6.29.6-smp  slack.bmp                         vmlinuz-huge-smp-2.6.29.6-smp
System.map@                          boot.0800                         config-huge-2.6.29.6             vmlinuz@
System.map-generic-2.6.29.6          boot_message.txt                  config-huge-smp-2.6.29.6-smp     vmlinuz-generic-2.6.29.6
System.map-generic-smp-2.6.29.6-smp  config@                           diag1.img                        vmlinuz-generic-smp-2.6.29.6-smp
System.map-huge-2.6.29.6             config-generic-2.6.29.6           map                              vmlinuz-huge-2.6.29.6
 
Old 02-21-2010, 06:47 PM   #19
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
In /boot do
Code:
ln -s vmlinuz-generic-smp-2.6.29.6-smp vmlinuz
Do this for System.map and config to make the symbolic links point to the generic files.
Then you will need to make an initrd.
The command for this depends on your filesystem. (ext3 reiser etc).
then add a line to /etc/lilo.conf
Code:
initrd= /boot/initrd.gz
under the
Code:
image = /boot/vmlinuz
.
after this don`t forget to
Code:
lilo
or you will not be able to boot without your cd.
 
Old 02-21-2010, 09:46 PM   #20
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
Quote:
Originally Posted by mryuck View Post
go to /boot directory
Code:
ls -l
check to see what the vmlinuz symbolic link is to.
Chances are your using the huge kernel with just about everything compiled into it. You will not be able to remove or blacklist anything.
The b43 drivers will be in the kernel. You need to switch to the generic kernel
make an initrd
then use broadcom-sta driver
Actually, 'huge' is not as huge as you think. The only real differences between huge and generic are that huge has non-standard disk drives (RAID and such), as well as filesystem drivers. The huge kernel still uses modules for nearly everything.
 
Old 02-21-2010, 11:23 PM   #21
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
I was under the impression that the huge kernel had almost every kernel driver built-in and the generic kernel had almost everything compiled as a module. I`ve always used the generic kernels because I know whats loaded, it makes me feel more in control of my system.
Starting with generic here seemed worth a shot. I actually thought he got this working in his old thread with the b43 firmware/cutter.
 
Old 02-21-2010, 11:57 PM   #22
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
Quote:
Originally Posted by mryuck View Post
I was under the impression that the huge kernel had almost every kernel driver built-in and the generic kernel had almost everything compiled as a module. I`ve always used the generic kernels because I know whats loaded, it makes me feel more in control of my system.
Starting with generic here seemed worth a shot. I actually thought he got this working in his old thread with the b43 firmware/cutter.
I use -generic as well, but the output of 'diff <(sort < config-generic-2.6.29.6) <(sort < config-huge-2.6.29.6)' is only 406 lines. Reading the output confirms that most things are installed modularly even for the -huge kernel.
 
Old 02-22-2010, 09:03 AM   #23
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
To make initrd I need the kernel-generic files which I don't seem to have (whereis mkinitrd <version>.tgz returns nothing) ...any idea where I can download them?

Would this site work or do I need a specific mkinitrd file?

http://www.softlookup.com/download.asp?ID=39401

Thanks so much for everyone's help. Figuring out this wireless thing on linux is pretty freakin brutal (or so it seems) but I'm loving the challenge!
 
Old 02-22-2010, 10:55 AM   #24
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
so looking at my kernel choices on the boot cd i used this is what i have...


hugesmp.s
speakup.s
huge.s


doesn't look like i have the generic option i'm going to burn a new disc with the generic and reinstall and try from the beginning...what would give me my best chances of getting this to work? the broadcom sta driver, or b43? correct me if i'm wrong here, but i only need to use b43-fwcutter if i'm using b43, right? (that sounds like a retarded question even saying it, but just wanted to check)
 
Old 02-22-2010, 11:04 AM   #25
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
this is what i downloaded and burnt to disc...do i need to download something different to use the generic kernel?

http://www.slackware.com/getslack/torrents.php
 
Old 02-22-2010, 11:22 AM   #26
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
hey does anyone know if this is a serious problem? I get it when i'm reinstalling and setup is installing packages

Code:
There was a fatal error attempting to install /var/log/mount/slackware/kde/kdeedu-4.2.4-i486-1.txz.  the package may be corrupt, the installation media may be bad, or something else has caused the package to be unable to read without error.  You may hit enter to continue if you wish, but if this is an important required package then your installation may not work as-is.
 
Old 02-22-2010, 12:04 PM   #27
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
fresh install - current state of things

so i did a fresh install and this is where I'm at - haven't made any changes, installed any packages, or otherwise done anything but poke around with what you see below...it looks like you are right - b43 is already preloaded...meaning i shouldn't need to download b43-fwcutter either right?

my question would be what i need to modify so when i run iwlist wlan0 scan i actually see the wifi networks. that would be a great start. if I can get to the point where i can actually see the networks i'm minutes away from figuring out how to connect to them (or so i would like to hope )

Code:
root@darkstar:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=0 dBm                                                    
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B             
          Encryption key:off                                                
          Power Management:off                                              
          Link Quality:0  Signal level:0  Noise level:0                     
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0          
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0          

root@darkstar:~# ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                            
          RX bytes:1240 (1.2 KiB)  TX bytes:1240 (1.2 KiB)     

root@darkstar:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1b:24:4e:5c:11  
          BROADCAST MULTICAST  MTU:1500  Metric:1        
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                        
          RX bytes:0 (0.0 B)  TX bytes:4072 (3.9 KiB)         
          Interrupt:20 Base address:0xc000                    

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1240 (1.2 KiB)  TX bytes:1240 (1.2 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:1a:73:bc:14:37
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-1A-73-BC-14-37-6C-6F-00-00-00-00-00-00-00-00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@darkstar:~# iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

root@darkstar:~# lsmod | grep "b43\|ssb"
b43                   127576  0
rfkill                  9296  1 b43
mac80211              155588  1 b43
cfg80211               36468  2 b43,mac80211
input_polldev           3108  1 b43
ssb                    38848  1 b43
pcmcia                 33772  2 b43,ssb
led_class               3392  2 b43,sdhci
pcmcia_core            32016  3 b43,ssb,pcmcia
root@darkstar:~#
 
Old 02-22-2010, 01:00 PM   #28
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Rep: Reputation: 25
Quote:
Originally Posted by R Tanner View Post
so i did a fresh install and this is where I'm at - haven't made any changes, installed any packages, or otherwise done anything but poke around with what you see below...it looks like you are right - b43 is already preloaded...meaning i shouldn't need to download b43-fwcutter either right?

my question would be what i need to modify so when i run iwlist wlan0 scan i actually see the wifi networks. that would be a great start. if I can get to the point where i can actually see the networks i'm minutes away from figuring out how to connect to them (or so i would like to hope )

Code:
root@darkstar:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=0 dBm                                                    
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B             
          Encryption key:off                                                
          Power Management:off                                              
          Link Quality:0  Signal level:0  Noise level:0                     
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0          
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0          

root@darkstar:~# ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                            
          RX bytes:1240 (1.2 KiB)  TX bytes:1240 (1.2 KiB)     

root@darkstar:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1b:24:4e:5c:11  
          BROADCAST MULTICAST  MTU:1500  Metric:1        
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                        
          RX bytes:0 (0.0 B)  TX bytes:4072 (3.9 KiB)         
          Interrupt:20 Base address:0xc000                    

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1240 (1.2 KiB)  TX bytes:1240 (1.2 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:1a:73:bc:14:37
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-1A-73-BC-14-37-6C-6F-00-00-00-00-00-00-00-00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@darkstar:~# iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

root@darkstar:~# lsmod | grep "b43\|ssb"
b43                   127576  0
rfkill                  9296  1 b43
mac80211              155588  1 b43
cfg80211               36468  2 b43,mac80211
input_polldev           3108  1 b43
ssb                    38848  1 b43
pcmcia                 33772  2 b43,ssb
led_class               3392  2 b43,sdhci
pcmcia_core            32016  3 b43,ssb,pcmcia
root@darkstar:~#
Okay looks good, you have the correct *modules* loaded...and you get points for persisting...for this is the way of Slack...but you still need to install the *firmware* for your card before you can go any further...go here...

http://linuxwireless.org/en/users/Drivers/b43

follow the instructions _exactly_ listed there for getting b43-fwcutter-012 and broadcom-wl-4.150.10.5.tar.bz2 installed...when you have that done report back for further assistance...you will be only a few simple steps away from slack wifi nirvana
 
Old 02-22-2010, 01:13 PM   #29
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by R Tanner View Post
so looking at my kernel choices on the boot cd i used this is what i have...

hugesmp.s
speakup.s
huge.s

doesn't look like i have the generic option i'm going to burn a new disc with the generic and reinstall and try from the beginning...what would give me my best chances of getting this to work? the broadcom sta driver, or b43? correct me if i'm wrong here, but i only need to use b43-fwcutter if i'm using b43, right? (that sounds like a retarded question even saying it, but just wanted to check)
If you do a full install without exempting kernel options then the 'generic' kernel will be installed.

Quote:
post #18 you showed;

vmlinuz-generic-2.6.29.6
vmlinuz-generic-smp-2.6.29.6-smp
The listing of your '/boot' showed that you indeed had the generic kernels available.

'The Broadcom Firmware (tar.gz)' should be the same as the 'b43-fwcutter'.

I've used both the open and closed drivers to get a 'Broadcom 4312' working.

Don't forget to create a 'initrd'. Read the '/boot/README.initrd' to get some good helpful information.
 
Old 02-22-2010, 02:43 PM   #30
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by R Tanner View Post
...
I was trying to work with the ndiswrapper but its saying I need to download the windows driver for my wireless card and extract it but its an exe file which is unextractable. lol
That's correct: The exe file is, in fact, a ZIP file with a unzip pre-installed to automatically unpack it. You can usually just run unzip on the exe file to get its contents. Then you need to use the inf file as input to b43_fwcutter. Alternatively, you could go to the site listed in your dmesg output and get the input file from there.
 
  


Reply

Tags
broadcom, slackware, wireless



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
Need some help configuring rodneybeighle Linux - Networking 1 09-08-2005 03:42 PM
configuring Keeble Linux - Newbie 3 02-08-2004 04:17 PM
Configuring X DeadPuddle Slackware 5 08-31-2003 06:54 AM
Not configuring Culbert Linux - Software 3 08-24-2003 10:37 AM
Configuring X Solidus Slackware 8 05-03-2002 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:02 PM.

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