Difference between revisions of "Category:FAQ Page"


From Knoppix Documentation Wiki
Jump to: navigation, search
m
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
This page contains many of the [[:Category : FAQ Page | Frequently Asked Question]] pages. You can find additional information on these pages in a question and answer format.
+
This page contains many of the [[:Category : FAQ Page | Frequently Asked Question]] pages. Scroll down for full list.
  
'''Activating the wireless connection using ndiswrapper under Knoppix 5.1.1'''
+
It is not intended to submit new questions in one of the FAQs. Questions posted here will be seen by relatively few people and on an infrequent basis. The '''proper place to post questions''' that you are looking for an answer to (if not already covered in a wiki article) is in the [http://www.knoppix.net/w/forum/ Knoppix Forums] or in German language [http://www.knoppixforum.de/ Knoppix Forum Deutsch]
  
I have success on Dell D600, D610 under knoppix 5.1.1. It has Dell Wireless 1450 Dual-Band WLAN miniPCI card with Broadcom BCM43xx chipset.
+
----
  
I also have success on a Compaq n600c with Linksys wpc11 v.4 wireless card.
+
Return to '''[[Main Page]] of the Wiki'''.
  
I don't know how to compile the Linux kernel so I will use the ndiswrapper method.
+
----
 
+
Here are the steps I make my D600 and D610 work:
+
 
+
''Assumption: You have wireless running on your windows OS. If not, install the wireless driver and make it works on windows environment now.''
+
 
+
-------------------------------------------------------------------
+
 
+
1. Get the windows xp driver files for the wireless card.
+
 
+
1.1 Find out the wireless driver file and it's location.
+
 
+
1.1.1 Open windows explorer => right click on my computer => select property
+
 
+
1.1.2 Click Hardware tab => click Device Manager button => expand the network adapters
+
 
+
1.1.3 Right click on the wireless network adapter => select property
+
 
+
1.1.4 Click Driver tab => click Driver Details button
+
 
+
1.1.5 It will display your wireless driver file with the full path. My machine is using c:\windows\system32\drivers\BCMWL5.SYS
+
 
+
1.2 Find out the corresponding inf file.
+
 
+
1.2.1 With Windows explorer open, on the left panel, click on c:\windows\inf folder
+
 
+
1.2.2 Click the "search" button
+
 
+
1.2.3 Click the "All files and folders" on the left panel.
+
 
+
1.2.4 On the "A word of phase in the file" field, enter "bcmwl5.sys" => click "search" button
+
 
+
1.2.5 On the right panel, it shows c:\windows\inf\oem0.inf
+
 
+
1.3 Now I know the driver files are
+
c:\windows\inf\oem0.inf
+
and the
+
c:\windows\system32\drivers\BCMWL5.sys
+
 
+
-------------------------------------------------------------------
+
 
+
2. Copy the 2 driver files to c:\wireless folder
+
 
+
2.1 Create a new folder right under c: drive called wireless
+
 
+
2.2 Copy c:\windows\inf\oem0.inf and c:\windows\system32\drivers\BCMWL5.SYS to it.
+
 
+
2.3 Go the c:\wireless folder. Check how the oem0.inf file uses the bcmwl5.sys driver.
+
 
+
2.4 Double click oem0.inf, notepad open with the content of oem0.inf
+
 
+
2.5 Click "Edit" => select "Find" => Enter "bcmwl5.sys" in the "Find what" field => click "Find Next" button.
+
 
+
2.6 Check the "bcmwl5.sys" within the oem0.inf file, make sure the filename in c:\wireless has the same case as described in oem0.inf.
+
 
+
2.7 In my case, the oem0.inf refers to bcmwl5.sys in lower case, so I rename BCMWL5.SYS to bcmwl5.sys in c:\wireless folder.
+
 
+
-------------------------------------------------------------------
+
 
+
3. Find out the ESSID and the channel on the wireless router.
+
 
+
3.1 Log on to your wireless router via internet explorer.
+
 
+
3.2 Find out your network ESSID name, for example: my wireless network ESSID name is "TESTSSID"
+
 
+
3.3 Find out the wireless channel your network is using, for example: my wireless network is using channel 11.
+
 
+
-------------------------------------------------------------------
+
 
+
4. With the knoppix 5.1.1 on the cd drive, boot up the OS with no cheat code.
+
 
+
4.1 Keep your eyes on the info shown on the screen when the autoconfigurating devices. From both of my machines, knoppix found two network cards in my machine, i.e. eth0 and eth1. However, my Compaq n600c only have eth0 detected.
+
 
+
4.2 Wait until the knoppix x-window starts and finally you have the knoppix up and running.
+
 
+
4.3 Start the Konsole, i.e. click on the black TV like icon on the task bar. The system console will be up and running (looks like a DOS box)
+
 
+
4.4 Switch to supper user: (i.e. $ is the prompt symbol)
+
 
+
$ su
+
#
+
 
+
-------------------------------------------------------------------
+
 
+
5. Mount your c: drive to mount point /media/???1
+
 
+
Be careful here, my D600 has the mount point called /media/hda1 but my D610 has the mount point called /media/sda1.
+
 
+
To check the name of the mount point, use the following command: (again, # is the prompt symbol means now you are the super user or so call "root")
+
 
+
# ls /mnt
+
 
+
It will give back all the name related to your harddisk/partition. (i.e. I have hda1, hda4 and hdc on my D600, hdc is my cd rom, hda1 is drive c: and hda4 is drive d: )
+
 
+
To mount the c: drive to the linux file system, type the following command:
+
 
+
# mount -t ntfs /dev/hda1 /media/hda1 -o ro,umask=000
+
 
+
If your c: drive is not in NTFS format, say in FAT32, you need to use the switch "-t vfat" to replace the "-t ntfs" in the above command. The same idea apply to "/dev/???a" in the command.
+
 
+
Option: I also tried to copy the two driver files to an USB drive first under windows xp and mount the USB drive to linux at this point.
+
-------------------------------------------------------------------
+
 
+
6. Go to the directory where the windows driver files are located.
+
 
+
# cd /media/hda1/wireless
+
# ls
+
 
+
the files oem0.inf and bcmwl5.sys will be shown.
+
 
+
-------------------------------------------------------------------
+
 
+
7. Copy the two driver files to the root's home directory
+
 
+
# cp *.* ~
+
 
+
-------------------------------------------------------------------
+
 
+
8. Go to root's home directory to see if the files are there.
+
 
+
# cd ~
+
# ls
+
 
+
You should see the two files are there.
+
 
+
-------------------------------------------------------------------
+
 
+
9. Unmount the c: drive mount point. (optional). I usually don't want the Live CD OS hook up to my harddisk. But it is just the personal taste only. You can skip this part if you want.
+
 
+
# umount /media/hda1
+
 
+
-------------------------------------------------------------------
+
 
+
10. If on step 4.1, you see there are two network cards detected (eth0 and eth1), most likely knoppix already loaded the bcm43xx driver module. However, this driver module will have conflict with the ndiswrapper network driver we are going to use, so if this is the case, we need to remove the bcm43xx driver module.
+
 
+
Note: it does not happen on my Compaq n600c with Linksys wpc11 v.4 card so this step is required when needed.
+
 
+
10.1 Check to see if the bcm43xx is there
+
 
+
# lsmod | grep bcm43xx
+
 
+
10.2 If the lsmod command returns some information back, it means the bcm43xx module are installed. Then remove it with the follow command. Else go to step 11.
+
 
+
# modprobe -r bcm43xx
+
 
+
10.3 Check the successful of the command
+
 
+
# lsmod | grep bcm43xx
+
 
+
It should return no entry.
+
 
+
-------------------------------------------------------------------
+
 
+
11. Wrap the windows driver to the ndiswrapper module.
+
 
+
11.1 Enter the command
+
 
+
# ndiswrapper -i ~/oem0.inf
+
 
+
11.2 The command will return a couple of lines feedback as
+
 
+
installing oem0 ...
+
forcing parameter IBSSGMode from 0 to 2
+
:
+
:
+
 
+
11.3 Check to see the driver is inserted into ndiswrapper
+
 
+
# ndiswrapper -l
+
 
+
11.4 It should say "oem0 driver installed"
+
 
+
-------------------------------------------------------------------
+
 
+
12. Install the ndiswrapper module (now wrap with bcmwl5 driver)
+
 
+
12.1 Enter the command
+
 
+
# modprobe ndiswrapper
+
 
+
12.2 Check if the ndiswrapper is installed.
+
 
+
# lsmod | grep ndiswrapper
+
 
+
You should see entries return with ndiswrapper in there.
+
 
+
-------------------------------------------------------------------
+
 
+
13. Find out what is your wireless card symbolic name:
+
 
+
13.1 Enter the command
+
 
+
# iwconfig
+
 
+
13.2 My system returns three information back:
+
 
+
lo : no wireless extensions
+
 
+
eth0: no wireless extensions
+
 
+
eth1: IEEE 802.11g ESSID: off/any blah blah blah ...
+
 
+
Here eth0 is my wired network card, eth1 is the wireless card. Be careful your system may return difference name like wlan0 etc. If that is the case, replace eth1 with wlan0 in all the following steps.
+
 
+
-------------------------------------------------------------------
+
 
+
14. Set up the wireless network with ESSID and channel (for example: my wireless network essid=TESTSSID using channel 11)
+
 
+
# iwconfig eth1 essid TESTSSID channel 11
+
 
+
-------------------------------------------------------------------
+
 
+
15. Check the result
+
 
+
# iwconfig
+
 
+
You should see the ESSID is set to TESTSSID and also the access point on the second line now has a valid ID.
+
 
+
-------------------------------------------------------------------
+
 
+
16. Start the wireless network card
+
 
+
# ifconfig eth1 up
+
 
+
-------------------------------------------------------------------
+
 
+
17. Check the result
+
 
+
# ifconfig
+
 
+
eth1 should appear in the result list.
+
 
+
-------------------------------------------------------------------
+
 
+
18. Force the DHCP server to generate an IP address to your wireless network connection.
+
 
+
# pump -i eth1
+
 
+
-------------------------------------------------------------------
+
 
+
19. Check the result
+
 
+
# ifconfig
+
 
+
The eth1 should have the IP address on the second line.
+
 
+
-------------------------------------------------------------------
+
 
+
20. Exit the super user
+
 
+
# exit
+
$
+
 
+
-------------------------------------------------------------------
+
 
+
21. You are ready to go, start the Web browser and now you can surf the internet.
+

Latest revision as of 21:38, 28 February 2012

This page contains many of the Frequently Asked Question pages. Scroll down for full list.

It is not intended to submit new questions in one of the FAQs. Questions posted here will be seen by relatively few people and on an infrequent basis. The proper place to post questions that you are looking for an answer to (if not already covered in a wiki article) is in the Knoppix Forums or in German language Knoppix Forum Deutsch


Return to Main Page of the Wiki.


Pages in category "FAQ Page"

The following 8 pages are in this category, out of 8 total.