80 gb drive won't format (sorry, i'm a noob)

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

RE: Re: RE: 80 gb drive won

Postby Kiganshee » Thu Jul 14, 2005 6:19 pm

I guess something went wrong then... all I can see in the network GUI is "other wireless card", which doesn't mention ndiswrapper or have my wireless card listed in it, and also doesn't have wlan0 as a mount option. I don't know where it could have gone wrong though, because everything the ndiswrapper wiki said would happen, did. When I ran modprobe ndiswrapper I got no errors, I got link and power lights on the wireless card, and dmesg gave me back:
ndiswrapper version 1.2 loaded (preempt=no,smp=no)
ndiswrapper: driver lsipnds (Linksys,07/09/2003,3.01.7.2003) loaded
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI 5 (level, low) -> IRQ 5
ndiswrapper: using irq 5
wlan0: ndiswrapper ethernet device 00:0c:41:87:c8:5f using driver lsipnds, configuration file 17FE:2120.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP

should I try it again? If so, how do I uninstall the ndiswrapper module?

Chapman
Kiganshee
 
Posts: 10
Joined: Tue Jul 12, 2005 7:11 pm

Postby A-Wing » Thu Jul 14, 2005 6:29 pm

Hmm....ok, create+modify the following to suit you and then do ifup wlan0:

/etc/sysconfig/network-scripts/ifcfg-wlan0
Code: Select all
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DEVICE=wlan0
HWADDR=
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ESSID=DESWEB
CHANNEL=6
MODE=Managed
RATE=Auto
Andrew Hutchings, Linux Jedi
http://www.a-wing.co.uk
User avatar
A-Wing
LXF regular
 
Posts: 460
Joined: Tue Jul 05, 2005 7:25 pm
Location: Wellingborough

RE: Re: RE: 80 gb drive won

Postby Kiganshee » Thu Jul 14, 2005 6:30 pm

perhaps I am using the wrong .inf file that came with the driver download package? four .inf files came with the driver .zip file:
WMP11NDS.inf
LSIPNDS.inf
AUTORUN.inf
lsbcmnds.inf
only WMP11NDS and LSIPNDS have corresponding .cat and .sys files. I started with WMP11NDS because my wireless card is Linksys Model WMP11, so that was the most likely.. however, when I did ndiswrapper -l to list the drivers, I didn't get the "hardware present" message. So I uninstalled that driver and went with LSIPNDS, which gave me both the "driver present" and "hardware present" messages. Should I try the WMP11NDS? if so, should I run any uninstall of the ndiswrapper module, or do I just need to reboot to clear it, uninstall the old driver, replace it, and modprobe it again?

Chapman
Kiganshee
 
Posts: 10
Joined: Tue Jul 12, 2005 7:11 pm

RE: Re: RE: 80 gb drive won

Postby Kiganshee » Thu Jul 14, 2005 6:42 pm

Ok, how should I code my WEP key into that? what I put in there
KEY= open -KEY-
was obviously not right.
Kiganshee
 
Posts: 10
Joined: Tue Jul 12, 2005 7:11 pm

RE: Re: RE: 80 gb drive won

Postby Kiganshee » Thu Jul 14, 2005 6:58 pm

ok sorry, that's solved too... creating that file brought it into the GUI so I was able to edit things there... but there's some weirdness. The wireless router came with my DSL service (i'm planning on replacing it soon, because it doesn't support features like mac address filtering), but on my Win XP laptop, I could get a connection to the router, but couldn't get the DHCP to work unless I installed some of SBC's software on it. However, on my roommate's desktop we just installed his wireless card and winxp SP2 was able to connect without any software. I think this may be the same problem? Any thoughts, or should I just get a commercial router and ditch this 2wire one?

thanks

Chapman
Kiganshee
 
Posts: 10
Joined: Tue Jul 12, 2005 7:11 pm

RE: Re: RE: 80 gb drive won

Postby A-Wing » Thu Jul 14, 2005 7:01 pm

Same as iwconfig, from iwconfig man page:

To set the current encryption key, just enter the key in hex
digits as XXXX-XXXX-XXXX-XXXX or XXXXXXXX. To set a key other
than the current key, prepend or append [index] to the key
itself (this won’t change which is the active key). You can also
enter the key as an ASCII string by using the s: prefix.
Passphrase is currently not supported.
To change which key is the currently active key, just enter
[index] (without entering any key value).
off and on disable and reenable encryption.
The security mode may be open or restricted, and its meaning
depends on the card used. With most cards, in open mode no
authentication is used and the card may also accept non-
encrypted sessions, whereas in restricted mode only encrypted
sessions are accepted and the card will use authentication if
available.
If you need to set multiple keys, or set a key and change the
active key, you need to use multiple key directives. Arguments
can be put in any order, the last one will take precedence.
Examples :
iwconfig eth0 key 0123-4567-89
iwconfig eth0 key [3] 0123-4567-89
iwconfig eth0 key s:password [2]
iwconfig eth0 key [2]
iwconfig eth0 key open
iwconfig eth0 key off
iwconfig eth0 key restricted [3] 0123456789
iwconfig eth0 key 01-23 key 45-67 [4] key [4]

just do the bit after iwconfig eth0 key in the KEY=
Andrew Hutchings, Linux Jedi
http://www.a-wing.co.uk
User avatar
A-Wing
LXF regular
 
Posts: 460
Joined: Tue Jul 05, 2005 7:25 pm
Location: Wellingborough

RE: Re: RE: 80 gb drive won

Postby A-Wing » Thu Jul 14, 2005 7:21 pm

Sounds like a dodgy dhcp implentation on the router, not really much I can suggest on that except maybe a google search on that model. I use a nice 3com one here and it works great with everything under dhcp.
Andrew Hutchings, Linux Jedi
http://www.a-wing.co.uk
User avatar
A-Wing
LXF regular
 
Posts: 460
Joined: Tue Jul 05, 2005 7:25 pm
Location: Wellingborough

RE: Re: RE: 80 gb drive won

Postby Kiganshee » Thu Jul 14, 2005 7:31 pm

Yeah, the symptoms are that even though WEP is definitely enabled on the router, I can only connect to it when encryption is off.. If I do iwconfig wlan0 key restricted -Key- I lose my essid... i go back to off/any, can't get a connection. If I connect to the ESSID without encryption I can't get an IP address. I am sure the WEP key i am using is right. Unless this rings a bell, I'm gonna go for the only router I can find with a print server option, which is a belkin. Thanks for all your help, man.

Chapman
Kiganshee
 
Posts: 10
Joined: Tue Jul 12, 2005 7:11 pm

Previous

Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests