LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 06-17-2006, 02:13 PM   #1
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Question Connecting to Tmobile Using Broadcom/Ndiswrapper


I have Fedora Core 5, and Broadcomm WiFi card using NDIS drivers. The card works fine at home using WEP and WPA, so I took it to Starbucks and tried to connect to their tmobile Wlan.

First I turned off iptables firewall and bluetooth services. Then I killed the wpa_supplicant process.

THen I shutdown the wlan interface using "/sbin/ifdown wlan0"

Next I copied my working ifcfg-wlan0 config to a back up copy, and then edited the copy to delete the WEP key, change the SSID to tmobile, and I deleted the "CHANNEL=11" line.

Next I brought up the wlan0 interface using the command "/sbin/ifup wlan0". Then I checked the interface configuration using ifconfig wlan0"

Unfortunately I did not save the output, but the IP address for the wlan card was 10.254.x.x, which I tried to ping. The ping command responded that I could not ping a broadcast address. In addition, I check my resolve.conf file, and saw that it had been updated by tmobile's dhcp service because the settings were nothing like what my home WiFi network DHCP server is configured to hand out.

So, I think the only problem is that my card is not getting a valid IP address from Tmobile's DHCP server. I tried release and re-requesting the DHCP information using "dhclient -r" and then "dhclient wlan0" commands, but I keep getting the same results.

Unfortunately, the local Starbucks staff are clueless about the Tmobile service, so I am on my own here. Any ideas on what I can do to fix this?
 
Old 06-17-2006, 07:22 PM   #2
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Original Poster
Rep: Reputation: 30
Post Additional Information and a Question

It looks like problems similar to mine can sometimes be solved by using various DHCP clients. Right now I have dhclient, but it looks like DHCPCD might be better for wireless networks. If no one else has an idea, I will try that out at Starbucks to see if it fixes my IP address problem. Another client I have heard about is called 'pump', but it is mostly in older posts so it may have been abandoned by the developer.

A second question is if there is a recommended way to create a script that brings up the Wireless connection on demand, allowing you to have multiple configurations for home,work, and Starbucks What I have so far is create multiple ifcfg files, one per wireless network, and I have made a script for my home networks called startHome.sh . It runs fine as root, but I would like it to be runnable by joe user ( me ) using something like sudo or suid. One thing I cannot do is have it start automatically at work as it would trip the wireless intrusion alarms as I am not authorized to use it there. It takes the security folk about 5 minutes to show up at the desk of someone with an unauthorized wireless connection after they turn it on, lol. I don't want that kind of attention. No thank you.

Any ideas for my original question or for the additional one would be much appreciated.
 
Old 06-17-2006, 08:01 PM   #3
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Original Poster
Rep: Reputation: 30
Question

Ok, I got an answer via PM for the second part. Using sudo I gave my joe user account to run all of the scripts to start the wlan0 card with the appropriate settings. Also, I compiled and tested dhcpcd client with my home network and it works.

However, this sparked another question: How do a configure linux to use the dhcpcd command instead of dhclient? My ifcfg-wlan0 card just says "BOOTPROTO=dhcp", but there must be a config file somewhere that tell the system how to place a dhcp request. Any ideas?
 
  


Reply

Tags
broadcomm, inspiron, tmobile, wifi, wlan


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
ndiswrapper+Broadcom+Kubuntu pszlachetka Linux - Wireless Networking 3 12-23-2005 01:56 PM
Broadcom, ndiswrapper issues. Noctaire Linux - Wireless Networking 3 12-04-2005 11:53 AM
Broadcom (BCM94306) + ndiswrapper mewgle Linux - Hardware 1 09-29-2005 02:04 AM
Slackware 10.0 + ndiswrapper + Broadcom = Help! Gatroae Linux - Wireless Networking 8 05-24-2005 03:14 AM
Broadcom 94306 with ndiswrapper 0.5 jon-do Linux - Wireless Networking 3 03-11-2004 01:25 PM


All times are GMT -5. The time now is 06:51 PM.

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