LinuxQuestions.org
Visit Jeremy's Blog.
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 11-23-2008, 07:12 PM   #1
jcw0220
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Not another Noob Wireless question


So I just put slackware 12.1 on my computer, well about 4 hours ago, since then I've been fiddling around trying to get my wireless internet to work. I'm using this guide http://www.linuxforums.org/network/w...and_linux.html
well attempting to. I downloaded ndiswrapper on my laptop and put it on a flash drive. I plug the Flash drive into my desktop, now with Linux, and can't figure out how to get to it. I dont think linux sees my drive. I rebooted my computer in windows and put ndiswrapper into a folder on my linux partition, still couldnt' find it when I booted in linux. As you can tell I'm completely new to linux and I think my major problem is just navigation. I really want to learn linux and am starting to get fustrarted, I know I didn’t give you guys much to work with, but any help would be great.
And to top it all off my toilet is leaking.
 
Old 11-23-2008, 07:35 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Hmm, leaky toilet ... that sucks.

After attaching the USB stick ... take a look at your dmesg output.

When booted in Windows ... how can you see/write to the Linux partion ? Normally Windows is not able to support the file system that is commonly found with Linux.
 
Old 11-23-2008, 07:48 PM   #3
jcw0220
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
What am I looking for in the Dmesg? Could the file format be my problem? I was wrong about putting the file on the linux partition using windows, I forgot I was using my jump drive it has Slax on it so I booted up with that and put the file on my computer.
 
Old 11-23-2008, 08:01 PM   #4
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Hmm, on my system this is the output:
Code:
[  134.950059] usb 2-1: new high speed USB device using ehci_hcd and address 4
[  135.637042] usb 2-1: configuration #1 chosen from 1 choice
[  135.637747] scsi4 : SCSI emulation for USB Mass Storage devices
[  135.638031] usb-storage: device found at 4
[  135.638036] usb-storage: waiting for device to settle before scanning
[  140.630556] usb-storage: device scan complete
[  140.631856] scsi 4:0:0:0: Direct-Access     Sony     Storage Media    0100 PQ: 0 ANSI: 0 CCS
[  140.633848] sd 4:0:0:0: [sdc] 7831552 512-byte hardware sectors (4010 MB)
[  140.634972] sd 4:0:0:0: [sdc] Write Protect is off
[  140.634977] sd 4:0:0:0: [sdc] Mode Sense: 43 00 00 00
[  140.634980] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[  140.637092] sd 4:0:0:0: [sdc] 7831552 512-byte hardware sectors (4010 MB)
[  140.642104] sd 4:0:0:0: [sdc] Write Protect is off
[  140.642111] sd 4:0:0:0: [sdc] Mode Sense: 43 00 00 00
[  140.642114] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[  140.642332]  sdc: sdc1
[  140.644826] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[  140.645160] sd 4:0:0:0: Attached scsi generic sg2 type 0
 
Old 11-23-2008, 08:07 PM   #5
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Slackware may not have been a good place to start. I was impressed with Linux Mint's wireless configuration tools. They have a graphical interface to ndiswrapper that really simplifies everything. All you have to do is get the driver, extract the .inf (I think thats the extension) and load it into their program. I'm not sure if you can get the same thing on Slackware or not. Never tried. Linux Mint is based on Ubuntu, which can accommodate new and experienced Linux users. Only problem I found with Linux Mint (and this can easily be remedied), is that the "Start button" is written in python and takes up a lot of resources for some reason. You can just take it off the taskbar and replace it with the typical gnome menu to save resources though. Just an idea.
 
Old 11-23-2008, 08:21 PM   #6
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You just need a large supply of coffee/beer/cocoa. Take your time; you can't learn everything in one day. You might find yourself frustrated for a few days every week or so until you've learned enough.

First of all, ndiswrapper is so commonly used that most distros will have it on their installer disc, so read up on how to use Slack's package manager and use the package manager to locate and install ndiswrapper. Once that's done, then follow the instructions on how to load up the winduhs driver via ndiswrapper.

Of course at some stage you'll need that winduhs driver - and you may use a usb stick or a CD. This stuff is easier to do from the command line, so switch to a virtual console and log in as 'root':

[ctl][alt][F1] - switch out of X and to VC1
log in as root

Find out what devices are already 'mounted':
mount

In Linux, everything is attached to a directory ('mount point'); where you mount things is arbitrary to some degree. If you see something like this:

/dev/sdb1 on /media/usb type ext3 (rw,noatime)

that means 'sdb1' (first partition on 'sdb' - in my case this usually means a USB storage device) is mounted on the directory /media/usb. Such a directory may not exist on your system of course - as I said, it's somewhat arbitrary. Many LiveCDs tend to mount things in subdirectories in /mnt - for example, if a device 'sdb1' exists they create the directory 'sdb1' in '/mnt' and mount sdb1 to that, so 'mount' would show an entry like this:

/dev/sdb1 /mnt/sdb1 type vfat (rw)

Anyway - check what 'mount' says - is your device already mounted somewhere or not?
If it is mounted, you can change to that directory:

cd /mnt/sdb1 (just an example)

Work your way to the directory which has the driver (well, actually the *.INF file) and you can finish the driver installation from there.

Now if your device is not already mounted, you have to identify it first and then attempt to mount it. To identify it, 'dmesg' helps:

dmesg (prints system messages to screen; this may scroll wildly)

Near the bottom you should see some messages relating to the USB device that you just plugged in - usually you will see a name like 'sdb' assigned to it (or sda, sdc - whatever). Then inspecting what partitions are on the device:

ls -l /dev/sdb* (list all files/directories that begin with 'sdb' which are in '/dev')

You may see entries like: sdb sdb1 sdb2
Usually a USB stick will only have 'sdb sdb1' and it is 'sdb1' you want to mount. To mount it, make sure you have an appropriate mount point ready, then (just an example):

mount /dev/sdb1 /mnt (attach sdb partition 1 to /mnt)

And there you go - your usb stick is mounted.

Now for CDs there is usually a 'friendly' device name (cdrom) and you just do:

mount /dev/cdrom /mnt

*NOTE* If you mount a USB stick, make sure you 'umount' it before pulling it out:

umount /mnt (assuming you attached it to /mnt)


When you've finished playing in the virtual console, log out (type: exit) then press [alt][F7] to return to the GUI (which is on virtual console 7).
 
Old 11-23-2008, 09:21 PM   #7
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
check this link

It is deltaflyers web site. He has a lengthly howto on installing ndiswrapper.

When you get to that url, do a search for "ndiswrapper" (without the quotes).- this will take you directly to the section about installing ndiswrapper.

HTH

Gary
 
Old 11-23-2008, 10:47 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by pinniped
First of all, ndiswrapper is so commonly used that most distros will have it on their installer disc, so read up on how to use Slack's package manager and use the package manager to locate and install ndiswrapper. Once that's done, then follow the instructions on how to load up the winduhs driver via ndiswrapper.
Slackware's package manager is simple and does not connect to a repository of packages or resolve dependencies. This advice will not help you on Slackware.

This is the best explanation for ndiswrapper on Slackware you will find, written by a major Slackware contributor (Alien Bob aka Eric Hameleers). It also links to an explanation of how to set up your wireless connection once you have ndiswrapper working.

As for your USB drive, it looks like it is being detected as /dev/sdc. The output of `ls /dev/sdc*` should show you the correct partition. Assuming it is /dev/sdc1, this should mount it properly (as root) and navigate to the mount point:
Code:
# mkdir /mnt/usbdrive
# mount /dev/sda1 /mnt/usbdrive
# cd /mnt/usbdrive

Last edited by T3slider; 11-23-2008 at 10:50 PM.
 
Old 11-23-2008, 11:01 PM   #9
jcw0220
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
ok so I'm slowly figuring stuff out. I can mount my USB drive and have figured out how to navigate to it, thanks pinniped. I'm starting to wonder if I've tried running ndiswrapper too many times that I'm running into problems. I've got to the point that when I run iwconfig it sees my wireless card. When I start up KDE and go to the wireless utility it can see networks but I can still not get on the internet. It's going to be a long night, but that's ok 'cause I'm learning something.
 
Old 11-24-2008, 01:09 AM   #10
jcw0220
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Ok so I'm going to bed. I've made some progress, I can see some wireless networks but can't actually connect. I'll try again when my brain is working better/faster. Thanks for all the help to this point, I'll figure it out eventually.
Goodnight to all
 
Old 11-24-2008, 11:33 AM   #11
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You shouldn't use KWiFiManager to try and setup your wireless connection -- it won't work. It is really only included because it comes with KDE. It is not setup to configure the network 'the Slackware way', and trying to get it to work would just be an exercise in frustration. You should take a look at the ndiswrapper tutorial I mentioned above. As for the actual configuration of the network, see here. If you want a graphical WiFi manager so you don't have to go through all that, you should install wicd, available from slackbuilds.org or from rworkman's repository.
 
Old 11-24-2008, 08:33 PM   #12
jcw0220
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I wasn't using KWiFiManager to setup the network, just using it to trouble shoot if I actualy got the network card installed. I was also using that tutorial up intill the point it told me to download something, If I had internet on the computer I wouldn't be going through this. That's the point I called it quits last night, we'll see how tonight goes.
 
Old 11-26-2008, 09:00 PM   #13
jcw0220
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
now I'm trying this guy http://alien.slackbook.org/dokuwiki/...re:ndiswrapper.
I got to "make distclean" when I punched that in it kicked back "make: *** No rule to make target 'distclean'. Stop."
so I did. What does that mean what do I need to do, I'm ganna go poke around and try and figure it out.
I ain't got to be no where till monday so I will get this thing working
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
noob to linux wireless question DeadPenguin Linux - Wireless Networking 2 05-22-2005 12:19 PM
noob: no wireless range mgmcc Linux - Newbie 15 04-25-2005 06:28 PM
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 03:43 PM
ndiswrapper noob (wireless) digitalkid1128 Linux - Laptop and Netbook 1 06-26-2004 10:46 AM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM

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

All times are GMT -5. The time now is 10:49 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