Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old June 10th, 2006   #1
tzcomwiz
First Cup of Ubuntu
 
Join Date: Apr 2006
My beans are hidden!
Kubuntu automatic wireless connection

Hi, I've used Ubuntu for a couple of months and it works beautifully. Then I decided to try Kubuntu. I got wireless set up fine but it won't connect to the network during the boot. I always have to go into Wireless Assistant after Kubuntu boots up and connect from there. This gets kind of tedious after a while. Is there a way to make the network automatically connect during boot up? I use ndiswrapper and I have it set so that ndiswrapper is automatically loaded during boot up.

Thanks a lot.
tzcomwiz is offline   Reply With Quote
Old June 14th, 2006   #2
kb3hkg
Way Too Much Ubuntu
 
Join Date: Oct 2005
Beans: 307
Kubuntu 9.04 Jaunty Jackalope
Re: Kubuntu automatic wireless connection

I know it can be done I used to have mine do that in breezy. I believe it can be set through the GUI for different network connections
kb3hkg is offline   Reply With Quote
Old August 4th, 2006   #3
vagrantgeek
First Cup of Ubuntu
 
vagrantgeek's Avatar
 
Join Date: Aug 2006
Location: Holland, MI
Beans: 1
Kubuntu 6.06
Re: Kubuntu automatic wireless connection

I am having this exact problem -- only I haven't messed with ndiswrapper.

Anyone have any ideas on how to set this? It is a bit frustrating to constantly open Wireless Assistant and connect to my network. And just like tzcomwiz when I was using Ubuntu 6.06 prior to moving to Kubuntu 6.06 it worked perfectly.

Thanks!

(first post on Ubuntu Forums!)
vagrantgeek is offline   Reply With Quote
Old August 4th, 2006   #4
Dave Klinzman
First Cup of Ubuntu
 
Join Date: Jun 2006
My beans are hidden!
Re: Kubuntu automatic wireless connection

I am not sure if this will help BUT - I have my Toshiba with a Linksys wireless card that can use the bcm43xx driver. However, I ended up installing and using ndiswrapper and got everything to work (because that is what was working in Breezy).

I was curious and changed everything to use the bcm43xx driver and found that I could not automatically connect to a wireless network when booting. I had to do a "sudo iwlist eth1 scan" to get things to connect. No amount of fiddling around would make it auto associate on boot. Sooooo, I blacklisted the "bcm43xx" driver in the /etc/modprobe.d/blacklist file (as it was originally) and reinstalled ndiswrapper. Voila - now everthing connects automatically on startup.

Now my story - the reason I moved to the bcm43xx driver is because I cannot connect to wireless access points other than my "home" ap. I though the difference in drivers might make a difference. It didn't and, in fact, made it more difficult to use my wireless connection.

Hope these comments help. BTW, the configuration of the bcm43xx driver and its replacement by ndiswrapper is well documented in the Wiki.
Dave Klinzman is offline   Reply With Quote
Old August 15th, 2006   #5
Baruch
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 29
Kubuntu 6.10 Edgy
Lightbulb Re: Kubuntu automatic wireless connection

I had the same problem. I solved it by creating a bash script which runs on startup and does the connecting.
1) To get the commands for the script, open a console\terminal window and run
Code:
sudo wlassistant
if you are connected to the network, disconnect. Then click on the network to connect. After it connects, close Wireless Assistant, and look in the terminal for the commands it ran to connect. These are the commands for the batch file.
Open a new document in your home folder (I called mine wirelss-setup). add the line
Code:
#! /bin/bash
to the file, and after that all the commands for connecting.
My script file looks like this:
Code:
#! /bin/bash
dhclient -r wlan0
ifconfig wlan0 up
iwconfig wlan0 mode managed channel 11 key open 3216549870 essid burstein
iwconfig wlan0 ap 00:C0:49:EE:04:F2
dhclient -q wlan0
Right click on the file in Konqueror, select Properties, select the Permissions tab, and mark it as executable. Select "Advaned Permissions" and mark it as "Exec" for everyone (or you could run chmod 755 ~/wireless-setup).
Now you need to open Konqueror with sudo (I put "kdesu konqueror" in the Run Command dialog), and copy your script to /etc/init.d .
The last step is to create a link to the script in rcS.d . I used #94. Open a terminal again and type
Code:
sudo ln -s /etc/init.d/wireless-setup /etc/rcS.d/S94wireless-setup
That's it! (trust me, it looks more complicated then it is)
Baruch is offline   Reply With Quote
Old August 15th, 2006   #6
Baruch
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 29
Kubuntu 6.10 Edgy
Deleted

Last edited by Baruch; August 16th, 2006 at 01:48 AM.. Reason: Double post
Baruch is offline   Reply With Quote
Old August 17th, 2006   #7
pludov
First Cup of Ubuntu
 
Join Date: Aug 2006
Location: France
Beans: 1
Kubuntu 6.06
Re: Kubuntu automatic wireless connection

I managed to get it working : in short, try kwifimanager...

With adept, I installed kwifimanager. Then, I configured my wifi connection with kwifimanager instead of wireless assistant. It has some options to activate the connection when it starts.

To have it starting on each login, I saved a new KDE session with kwifimanager started and minimized. Now when I boot my laptop, it automatically starts kwifimanager minimized. This activates the wifi connection if possible... And I have a new icon with the connection status
pludov is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:34 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry