Jump to content

wireless!


marcrob
 Share

Recommended Posts

Hi All,

 

I have just installed my mandriva free edition. The installation part went succesfully. I have dell 600m Laptop. My built in card is BCM 4306 blah blah blah.......... I have used my windows native driver with ndiswrapper.

 

The o/p from ndiswrapper -l

[root@localhost etc]# ndiswrapper -l

Installed ndis drivers:

bcmwl5 driver present, hardware present

 

The o/p from iwconfig

 

[root@localhost etc]# iwconfig

lo no wireless extensions.

 

wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost"

Mode:Managed Frequency:2.412 GHz Access Point: 00:00:00:00:00:00

Bit Rate=54 Mb/s Tx-Power:25 dBm

RTS thr=2347 B Fragment thr=2346 B

Encryption key:off

Power Management:off

Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm

Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

Tx excessive retries:0 Invalid misc:0 Missed beacon:0

 

eth0 no wireless extensions.

 

 

But i'm still not able to connect to the internet using wlan0

 

Need help regarding this

 

 

Thanks in advance

Marc

Link to comment
Share on other sites

Mode:Managed Frequency:2.412 GHz Access Point: 00:00:00:00:00:00

 

Your card seems to be running, but it does not see your access point. I'm gonna show you the easy way and the hard way.

 

Hard way:

Find the hwaddr of your router (usually written on the bottom of the router), also known as MAC address. If you have another computer that can connect, you can also see it in the config of the web interface to the router.

As root, in a console, run the command:

 

iwconfig wlan0 ap <<insert router's hwaddr here>>

 

Then, I am sure you have encryption set up on the router like a good wireless network user and ssid broadcast is turned off, so you need to run these two commands:

 

iwconfig wlan0 essid <<insert essid here>>

iwconfig wlan0 key <<encryption key>>

 

You can do all these at one time if you wish (I think...not 100% sure):

 

iwconfig wlan0 ap <<insert router's hwaddr here>> essid <<insert essid here>> key <<encryption key>>

 

After doing this, check your /etc/sysconfig/network-scripts/ifcfg-wlan0 file and make sure it added the values there:

DEVICE=wlan0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
#assuming your router is 192.168.1.something
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
METRIC=10
#this depends on your card...I have the same chipset and yes/no seems to make no difference for me
MII_NOT_SUPPORTED=no
USERCTL=yes
WIRELESS_MODE=Managed
WIRELESS_ESSID=[b]<<your essid>>[/b]
WIRELESS_RATE=54M
WIRELESS_ENC_KEY=[b]<<your key>>[/b]
#this is good to be set to 'no'
IPV6INIT=no 
#so is this
IPV6TO4INIT=no
DHCP_CLIENT=dhclient
DHCP_HOSTNAME=[b]<<hostname you want to use>>[/b]
NEEDHOSTNAME=no
PEERDNS=yes
PEERYP=no
PEERNTPD=no

 

Do:

 

service network restart

 

and make sure you can surf.

 

Easy way:

 

Run Mandrake Control Center (mcc from a console)

Select Hardware

Select Look at and Configure Hardware

Select your wireless card

Click Run Config Tool

Select Wireless

Select wlan0

Configure everything there

 

HTH

Link to comment
Share on other sites

Hi steve

 

Thanks for the reply

 

I followed the HARDWAY

 

Here is the output from the config file

 

[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-wlan0

DEVICE=wlan0

BOOTPROTO=dhcp

NETMASK="No Mask"

ONBOOT=yes

HWADDR=00:0b:7d:0b:8a:78

METRIC=10

MII_NOT_SUPPORTED=yes

USERCTL=yes

WIRELESS_MODE=Managed

WIRELESS_ESSID=XXXXXXX (edited)

WIRELESS_ENC_KEY="open s:XXXXXXXXXX" (edited)

IPV6INIT=no

IPV6TO4INIT=no

PEERDNS=yes

NETMASK="No Mask"

DHCP_CLIENT=dhclient

NEEDHOSTNAME=yes

PEERDNS=yes

PEERYP=no

PEERNTPD=no

 

I didnt see any values written to the config file

 

Thanks

Marc

Link to comment
Share on other sites

Hi Steve

 

Yes, I did that...

 

Here is the output from etc/

 

[root@localhost etc]# cat modprobe.preload
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

ndiswrapper
i8k
nvram
hw_random
evdev
intel-agp


[root@localhost etc]# cat modprobe.conf
alias eth0 tg3
alias sound-slot-0 snd-intel8x0
remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true
alias wlan0 ndiswrapper
alias net-pf-10 off

 

Thanks

Marc

Link to comment
Share on other sites

This is what i did

 

I got the Kwifimanager installed to check the networks in my range bcos it was hard for me to use the defulat network manager or whatever...... Then i googled on network encrytion. Realised that i had problem with my network key and Bingo........................got it worked.

 

Thanks

Marc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...