Wi-Fi in 8.04

Asked by jimbythewoods

I can't help thinking that if these are the questions people are asking, it is no wonder people are all sticking with Windows.

I have perfectly (almost) new Toshiba Equium laptop ruuning Vista.
Having just installed Kubuntu 8.04 - first time using Linux - I am unable to connect to my Wi-Fi connection.

Can anyone help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
jimbythewoods
Solved:
Last query:
Last reply:
Revision history for this message
Miia Sample (myrtti) said :
#1

please elaborate your problems a bit more.
open a terminal, type
"sudo lshw -C network" hit enter and give it your password
then "ifconfig"
"iwconfig"

and paste the output here.

Revision history for this message
jimbythewoods (jimbythewoods) said :
#2

Thank you, Miaa Ranta, good of you to take the trouble.
Your command line stuff was first class, but you'll have to tell me how I get the info off the Linux system onto the Windows system. Can't print - no printer driver there - and there's too much info to handwrite.
Keep at me. I'm worth it.
Jim.

Revision history for this message
jimbythewoods (jimbythewoods) said :
#3

Apparently there's something - bash? - where you bash around on the keys and you can write into Vista. Try this. Stick with me!

jimadmin@ubuntu:~$ sudo lshw -C network
[sudo] password for jimadmin:
  *-network
       description: Network controller
       product: PRO/Wireless 3945ABG Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:05:00.0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=iwl3945 latency=0 module=iwl3945
  *-network
       description: Ethernet interface
       product: PRO/100 VE Network Connection
       vendor: Intel Corporation
       physical id: 8
       bus info: pci@0000:07:08.0
       logical name: eth0
       version: 02
       serial: 00:a0:d1:6c:6d:30
       size: 10MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k4-NAPI duplex=half firmware=N/A latency=66 link=no maxlatency=56mingnt=8 module=e100 multicast=yes port=MII speed=10MB/s
  *-network
       description: Wireless interface
       physical id: 1
       logical name: eth1
       serial: 00:0e:3b:08:1b:db
       capabilities: ethernet physical wireless
       configuration: broadcast=yes multicast=yes wireless=IEEE 802.11b/g

jimadmin@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:a0:d1:6c:6d:30
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth1 Link encap:Ethernet HWaddr 00:0e:3b:08:1b:db
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:2 dropped:0 overruns:0 frame:2
          TX packets:57 errors:5 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:2334 (2.2 KB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

jimadmin@ubuntu:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b/g ESSID:off/any Nickname:"zd1211"
          Mode:Managed Frequency:2.472 GHz Access Point: Invalid
          Bit Rate=1 Mb/s
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

jimadmin@ubuntu:~$

Revision history for this message
Miia Sample (myrtti) said :
#4

before heading to bed for tonight, I'm posting a link to a bug report that might relate to the issue:
https://bugs.launchpad.net/ubuntu/+bug/178530.
In the final messages, there might be an answer to your problems...

Revision history for this message
jimbythewoods (jimbythewoods) said :
#5

Miaa,

I followed that track, which led to bug #18547.
Could not write the suggested text into the named file.
Not using 'Write' anyway.
I am going in the right direction, I just need poking a bit.
Have you got a long stick?

Thanks,
Jim.

Revision history for this message
Miia Sample (myrtti) said :
#6

So you did the following:
(https://bugs.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24/+bug/185470/comments/65)

   1. sudo modprobe -r iwl3945
   2. create a file named iwl3945 in /etc/modprobe.d

ie.
gksudo gedit /etc/modprobe.d/iwl3945
copy paste:
   alias wlan0 iwl3945
   options iwl3945 disable_hw_scan=1

   4. sudo modprobe iwl3945
   5. sudo ifconfig wlan0 up

?

Revision history for this message
jimbythewoods (jimbythewoods) said :
#7

Miia,

I can't help but think that until the suppliers start supporting Linux, then it's only going to be computer specialists who will be able to use Linux.
I am either have to going to buy a Linux book or give up.
Thanks for taking the time for me.
Goodbye,
Jim.

jimadmin@ubuntu:~$ sudo modprobe -r iwl3945
[sudo] password for jimadmin:

jimadmin@ubuntu:~$
jimadmin@ubuntu:~$ gksudo gedit /etc/modprobe.d/iwl3945
The program 'gksudo' is currently not installed. You can install it by typing:
sudo apt-get install gksu
bash: gksudo: command not found
jimadmin@ubuntu:~$ sudo apt-get install gksu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gksu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package gksu has no installation candidate
jimadmin@ubuntu:~$

Revision history for this message
Miia Sample (myrtti) said :
#8

oh, right, you had Kubuntu, forgot about that. Sorry.

"kdesu kate /etc/modprobe.d/iwl3945"

Revision history for this message
jimbythewoods (jimbythewoods) said :
#9

Miia,
Thanks for sticking with me when I had given up.
I'll try that tomorrow and get back to you.
Jim.

Revision history for this message
jimbythewoods (jimbythewoods) said :
#10

Miia,
I am obviously a few packages short of the full load.
Can I download a few packages via my Vista/IE7 and get them into Kubuntu?
I have Kubuntu 8.04 installed inside Windows.
Otherwise, would you suggest getting a CD/DVD sent to me?
Or I can install Ubuntu or Kubuntu directly...
Thanks,
Jim.

jimadmin@ubuntu:~$ sudo modprobe -r iwl3945
[sudo] password for jimadmin:
jimadmin@ubuntu:~$ kdesu kate /etc/modprobe.d/iwl3945
passprompt

sudo: kate: command not found

jimadmin@ubuntu:~$

Revision history for this message
Miia Sample (myrtti) said :
#11

ok, lets try out the commandline approach then :-)

type in the terminal

"sudo nano /etc/modprobe.d/iwl3945"

you can paste the text using the mouse, and save with pressing ctrl-o, and exit the program with ctrl-x.

Hope this helps a bit

Revision history for this message
jimbythewoods (jimbythewoods) said :
#12

Miia,

You know any Linux specialists in the Liverpool area of England?

Whilst I appeared to be able to get a program iwl3945 into /etc/modprobe.d/
it did not do the trick.
The program contained
copy paste:
alias wlan0 iwl3945
options iwl3945 disable_hw_scan=1

Typing in sudo modprobe iwl3945 after it was not liked. See if you can make any sense of this:

jimadmin@ubuntu:~$ sudo modprobe -r iwl3945
WARNING: /etc/modprobe.d/iwl3945 line 1: ignoring bad line starting with 'copy'
jimadmin@ubuntu:~$ sudo modprobe iwl3945
WARNING: /etc/modprobe.d/iwl3945 line 1: ignoring bad line starting with 'copy'
jimadmin@ubuntu:~$ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
jimadmin@ubuntu:~$

You know any Linux specialists in the Liverpool area of England?

Revision history for this message
Miia Sample (myrtti) said :
#13

the error message is quite literal, you've got a line starting with copy paste: when it should contain only

alias wlan0 iwl3945
options iwl3945 disable_hw_scan=1

Try again, please ;-)

Revision history for this message
jimbythewoods (jimbythewoods) said :
#14

Miia,

I have got the file /etc/modprobe.d/iwl3945 with just the 2 lines in it:

alias wlan0 iwl3945
options iwl3945 disable_hw_scan=1

Also got two other files iwl3945.save and iwl3945.save.1, which I presume are okay as cannot delete.

You better run the whole lot of commands by me again, as this is what I'm doing / getting:

jimadmin@ubuntu:~$ sudo modprobe -r iwl3945
[sudo] password for jimadmin:

jimadmin@ubuntu:~$
jimadmin@ubuntu:~$ sudo modprobe iwl3945
jimadmin@ubuntu:~$ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
jimadmin@ubuntu:~$

Also, I've found Kate, if that's a help.

Jim.

Revision history for this message
jimbythewoods (jimbythewoods) said :
#15

Miia,

Also, isn't the Wireless interface thus (see above 2008-05-29):

description: Wireless interface
       physical id: 1
       logical name: eth1

And I'm getting to Kate through the desktop & applications.

Jim.

Revision history for this message
jimbythewoods (jimbythewoods) said :
#16

Miia,
Is this, from another forum - talking about an updated driver - any help?

http://ubuntuforums.org/archive/index.php/t-772521.html

Keyper7
April 28th, 2008, 11:42 PM
Help us to help you: at least say what is your wireless card...

Anyway, based on the problem description, I'm guessing it's an Intel 3945. If it is, the current iwl3945 driver supplied with Hardy does not support the LED. Fortunately, the updated driver, which does support it, is available via backporting. Just open a terminal and type:

sudo apt-get install linux-backports-modules-hardy

Now disconnect from your wireless network and reload the module with the following commands:

sudo modprobe -r iwl3945
sudo modprobe iwl3945

That should ensure you're now using the new driver. Connect to your wireless network again and the LED should shine.

Revision history for this message
jimbythewoods (jimbythewoods) said :
#17

Miia,

I see the iwl3945 bug is flying around a lot on this and other forums.
I'm sure you know all this...

Presumably, just having that two-line file should do it - uh?

Mmmmmm.......

Revision history for this message
jimbythewoods (jimbythewoods) said :
#18

Miia,

Don't go on holiday on me now.
Does something 'call' this iwl3945?
Another program?

Jim.

Revision history for this message
jimbythewoods (jimbythewoods) said :
#19

Miia Ranta,

Just in case you read this again.
Some advice re 8.04 and iwl3945 wi-fi from the UK magazine Micro Mart (Issue 1008, 12-18th June 2008).
It says that to make sure your wi-fi is On, then re-install 8.04.
Well, it has worked for me. I can now get on-line. But I don't know what it all means.
Thank you,

Jim.