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

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
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.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old November 18th, 2004   #1
thibaud
First Cup of Ubuntu
 
Join Date: Nov 2004
Location: Starkville, MS
Beans: 9
Can't have wireless at boot

Hi,

- I installed my wireless PCMCIA card following the ndiswrapper HOWTO
- I added ndiswrapper in /etc/modules (or something like that ) so that it is loaded automatically
- Running "ifup wlan0" from a root terminal under Gnome works perfectly

But, if I ask for wlan0 to be activated at boot, network doesn't work and
I have to "ifdown wlan0","ifup wlan0" to make it work. (ifup alone is not enough).

Thank you very much for this distro, it is by far the best I've ever tried.
thibaud is offline  
Old November 23rd, 2004   #2
orkolorko
First Cup of Ubuntu
 
Join Date: Nov 2004
Beans: 2
Re: Can't have wireless at boot

The reason IMHO is that ubuntu is doing the script for configuring network devices before he enables the PCMCIA.
But I donàt know how to change its behaviour.
orkolorko is offline  
Old November 24th, 2004   #3
thibaud
First Cup of Ubuntu
 
Join Date: Nov 2004
Location: Starkville, MS
Beans: 9
Re: Can't have wireless at boot

Thank you for your answer. It is not a solution, but it helps me to find one.

How do you know that PCMCIA is started after Network ?

I assumed it was'nt the case, since the lights of my wireless card turned on when Ubuntu brought network up during the boot process.
thibaud is offline  
Old November 24th, 2004   #4
bmichel
5 Cups of Ubuntu
 
bmichel's Avatar
 
Join Date: Nov 2004
Location: Argentina
Beans: 33
Ubuntu 9.04 Jaunty Jackalope
Re: Can't have wireless at boot

In file /etc/network/interface your must have something like:

# The primary network interface
auto wlan0
iface wlan0 inet static
address 192.168.0.92
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
gateway 192.168.0.100


where auto wlan0 says to auto start your wireless card. I experienced some conflicts with the integrated ethernet card (eth0) so I deactivated it.

You must be able to handle that through the gnome-network app.
bmichel is offline  
Old November 25th, 2004   #5
thibaud
First Cup of Ubuntu
 
Join Date: Nov 2004
Location: Starkville, MS
Beans: 9
Re: Can't have wireless at boot

Here is the part of my /etc/network/interface concerning wlan0:

iface wlan0 inet dhcp
name Liaison par onde radio
wireless_essid ma maison

I also had conflict with eth0 and I also disactivated it through the gnome-network app.

I tried to manage the 'on boot' problem with wireless both with the gnome-network app and by adding "auto wlan0" before
"iface wlan0 inet dhcp" in /etc/network/interface, but both ways give me the same problem. wlan0 seems to be up (ifup wlan0 complains), but the network doesn't work .
thibaud is offline  
Old November 27th, 2004   #6
bmichel
5 Cups of Ubuntu
 
bmichel's Avatar
 
Join Date: Nov 2004
Location: Argentina
Beans: 33
Ubuntu 9.04 Jaunty Jackalope
Re: Can't have wireless at boot

iface wlan0 inet dhcp

Your wireless card is configured to use a dhcp server. are you sure that you have one ? else use static address instead.

could you see your wlan0 with : ifconfig
bmichel is offline  
Old November 27th, 2004   #7
bmichel
5 Cups of Ubuntu
 
bmichel's Avatar
 
Join Date: Nov 2004
Location: Argentina
Beans: 33
Ubuntu 9.04 Jaunty Jackalope
Re: Can't have wireless at boot

Another point that I manage to be sure to boot on wireless: Activate your wlan0 on the default profile (unknown/inconnu) and remove the ethernet card from it.
bmichel is offline  
Old November 27th, 2004   #8
thibaud
First Cup of Ubuntu
 
Join Date: Nov 2004
Location: Starkville, MS
Beans: 9
Re: Can't have wireless at boot

Thank you for your interest bmichel,

I'm sure I have a DHCP server. Otherwise, "ifup wlan0" would not work once in GNOME.

I saved my network profile under "original".
I removed eth0 from "Unknown", which is still the default profile.
I checked "on boot" for wlan0, which was still activated and rebooted.

I still have the same problem, once in GNOME:
* Network doesn't work
* "ifconfig" reports only "lo"
* "ifup wlan0" reports "ifup: interface wlan0 already configured".

By the way, with "on boot" checked, network need a long time, but finally reports [OK] during the boot process. And a few lines after, it complains about "unable to resolve name" trying to find the time server. Once in GNOME, Network works after "ifdown wlan0; ifup wlan0".
Witout "on boot", Network works after "ifup wlan0", which takes around 1 second.

When I'm in windows, wireless need time before to be available. So I wonder if Ubuntu doesn't try to early or doesn't wait long enough, who knows...
thibaud is offline  
Old December 2nd, 2004   #9
Hendry
5 Cups of Ubuntu
 
Hendry's Avatar
 
Join Date: Dec 2004
Location: Apeldoorn, Netherlands
Beans: 19
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to Hendry Send a message via MSN to Hendry Send a message via Yahoo to Hendry
Re: Can't have wireless at boot

What kind of wireless card are you using? My wireless SMC PCMCIA card didnt work unless I added the firmware to my machine. See www.prism54.org for information about obtaining the latest firmware. I just copied the file to my Ubuntu system and I had no problem activating my card after this
Hendry is offline  
Old December 2nd, 2004   #10
thibaud
First Cup of Ubuntu
 
Join Date: Nov 2004
Location: Starkville, MS
Beans: 9
Re: Can't have wireless at boot

I have a WN825G PCMCIA card from Mororola. The ndiswrapper wiki reports that it has a BroadCom chip and that it works with ndiswrapper 0.9+ (I have 0.10-1).
So, it seems that I'm not in your case, but thank you for your interest.
thibaud is offline  
 

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 12:33 PM.


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