LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices

Reply
 
Search this Thread
Old 10-20-2006, 03:05 AM   #1
Duster
Member
 
Registered: Jul 2005
Distribution: openSuSE 10.2; PCLinuxOS 0.93a
Posts: 59

Rep: Reputation: 15
connecting with ndiswrapper


Hi, Zenwalk on my old laptop is alot faster than opensuse 10.1. My first issue right now is getting ndiswrapper; wlan0 to start.

I have my card present, and detecting my network with iwlist wlan0 scan.
My problem is I can not get it to gather an IP number besides home (127.0.0.1). The card is set to managed and to autodetect dns.

the Network config tool will only see eth0, which is useless to me as I am only able to connect wirelessly. I know the driver I used works, worked great on Suse, and iwlist finds all the wireless networks in my locale.

So...

Could someone please help me with Zenwalk 3.0 to load ndiswrapper on setup and connect, and for Network configuration to find my wlan0 card?
I have already set the essid with iwconfig - and it accepted it.
I have also done ifconfig wlan0 up, down, up, etc . . .
Some reason why - I just can not on Zenwalk 3.0 get it to connect.
Just in case it is like suse, yes eth0 is down, and disabled.
also lspci finds the pcmcia Broadcom card right away.
Hope this info may give a good starting point for a solution . . .?


Thank you, I hope to get Zenwalk online over the weekend.
 
Old 10-20-2006, 05:29 PM   #2
Duster
Member
 
Registered: Jul 2005
Distribution: openSuSE 10.2; PCLinuxOS 0.93a
Posts: 59

Original Poster
Rep: Reputation: 15
I finially got NDIS wrapper working, I am on the laptop right now.

I had to write a shell script for now to get the wireless working once booted. details are below. *** Does anyone know of a way to automate this in Zenwalk without a shell script?? **

BUT for anyone else possibly having issues with Zenwalk Linux and NDIS wrapper, here is what I did

First I went to /etc/rc.d

second open rd.inet1.conf in your editor (bluefish is default)

third I disabled eth0

4th I added the lines at the bottom of this post

5th . . .
modprobe ndiswrapper
ifconfig wlan0 up (note ifup does not work)
iwconfig wlan0 essid <your network here>
dhcpcd wlan0
then in /etc/rc.d directory
rc.inet1 restart



You 'should' be connected

It took me a while - hopefully this may help someone who may stumble upon this post

** Shell Script
make a <yournetwork>.sh in /bin directory
in <yournetwork>.sh type

#!/bin/bash
modprobe ndiswrapper
dhcpcd wlan0
ifconfig wlan0 up
iwconfig wlan0 essid <yournetwork>

save

then ls -al - <yournetwork>.sh

reboot (after the script below is put in to rc.inet1.conf)

su
then at the bash prompt type
bash <yournetwork>.sh
You should connect

# NDISWRAPPER WLAN0 for broadcom pcmcia card:
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]="255.255.255.0"
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="auto"
DHCP_KEEPRESOLV[4]="no"
DHCP_KEEPNTP[4]="no"
DHCP_KEEPGW[4]="no"
#DHCP_IPADDR[4]=""
STATUS[4]="up"
WLAN_ESSID[4]=YourNetwork
WLAN_MODE[4]=Managed
WLAN_RATE[4]="auto"
WLAN_CHANNEL[4]="auto"
WLAN_KEY[4]=""
#WLAN_WPA[4]=""
WLAN_WPADRIVER[4]="ndiswrapper"

# end of wlan0 modifications to this script

Last edited by Duster; 10-20-2006 at 05:52 PM.
 
  


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
Connecting to Tmobile Using Broadcom/Ndiswrapper fortezza Linux - Wireless Networking 2 06-17-2006 08:01 PM
Connecting to Wireless Network with ndiswrapper shimano55 Linux - Newbie 12 04-26-2006 08:32 PM
WMP54Gv2 on Ndiswrapper 1.1 not connecting to DCHP (FC3) Irob Linux - Wireless Networking 9 03-31-2005 12:19 PM
problem connecting wireless to DLINK DI-524 using ndiswrapper/BCM94306/Slackware 10 kirkross Linux - Wireless Networking 17 12-07-2004 10:18 PM
ndiswrapper: trouble connecting to router nvidiausr Linux - Wireless Networking 1 11-03-2004 12:34 AM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration