Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
My problem is, that i can't access the internet, when in school. I am using Slackware 10, with some Asus wireless card, which has to use ndiswrapper to work. I can access the internet at home, by using dhcp, but i don't know how to configure wlan0 so i can use the following settings:
Someone in #linux on freenode helped me, so now i'm a bit further, though it doesn't really work yet. Instead of me talking, let me show you what i do, and what it results in:
Code:
bash-2.05b# insmod ndiswrapper
Using /lib/modules/2.4.26/misc/ndiswrapper.o
bash-2.05b# ifconfig wlan0 up
bash-2.05b# ifconfig wlan0 up 192.168.110.108
bash-2.05b# ifconfig wlan0 netmask 255.255.255.128
bash-2.05b# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:0C:6E:74:58:CF
inet addr:192.168.110.108 Bcast:192.168.110.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1742 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:198384 (193.7 Kb) TX bytes:2454 (2.3 Kb)
bash-2.05b# iwconfig wlan0
wlan0 IEEE 802.11b ESSID:"My Wireless Network B"
Mode:Managed Frequency:2.422GHz Access Point: 00:02:2D:4E:C4:DB
Bit Rate:11Mb/s Tx-Power:16 dBm
RTS thr:2346 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-40 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:2151 Missed beacon:0
/etc/rc.d/rc.inet1.conf:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
# Default gateway IP address:
GATEWAY="192.168.0.1"
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
/etc/resolv.conf:
nameserver 195.231.241.125
nameserver 130.226.1.2
Yeah, well, problem is: I still can't access any sites. I can't even ping anything (IP or hostname, doesn't matter).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.