LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2010, 11:43 AM   #1
ajcollette7
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Rep: Reputation: 0
Lost Wireless WPA2 connection and ability to see USB after update


I'm relatively new to Linux. My netbook ran updates yesterday for Ubuntu and now I am unable to reconnect to wireless network connection. I am using WPA2 encrypted security. I am able to connect via wired LAN.

Also, when I went to connect using USB mobile connection, I get an error "unable to mount location". I get the same error if I try to connect my external CD drive.

I have tried to force mount but no luck. I could use some suggestions!
Thanks for your help.
 
Old 01-01-2010, 05:29 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
More information might help:
  • Version of Ubuntu?
  • Netbook specifications?
  • Wireless device specification?
  • Permissions on /media directory?
  • Contents of /etc/sudoers file?
The point of the last item is that you may need to add a permission line so members of you group can use the mount and umount commands. (The update may have made unexpected changes in the sudoers file. See if you have a /etc/sudoers.save (or similar name) file. Such a file should have been created if the sudoers file was changed.)

Last edited by PTrenholme; 01-01-2010 at 05:30 PM.
 
Old 01-02-2010, 08:45 AM   #3
ajcollette7
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks

I am using Ubuntu 8.04 with Gnome desktop (2.22.3) on a Dell Mini 9.
My wireless device is using Broadcom STA Wireless driver for an 802.11 wireless card

Here is the output from the etc/sudoers file:

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Uncomment to allow members of group sudo to not need a password # %sudo ALL=NOPASSWD: ALL

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root privileges %admin ALL=(ALL) ALL
ALL ALL=NOPASSWD: /sbin/initctl emit boot-phase ui-started -n

I don't have a sudoers.save file.
How do I check permissions on /media?
 
Old 01-03-2010, 03:52 PM   #4
ajcollette7
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Here is additional information:

=========== lspci ============

============ lsusb ============
Bus 005 Device 002: ID 0c45:63e4 Microdia
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 045e:00e1 Microsoft Corp. Wireless Laser Mouse 6000 Reciever
Bus 004 Device 002: ID 413c:02b0 Dell Computer Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

============ lsmod ============
Module Size Used by
wl 1487188 0
parport_pc 36260 0
ppdev 10372 0
parport 37704 2 parport_pc,ppdev
sms1xxx 42116 0
mbm 7424 0
cdc_ether 7168 1 mbm
cdc_acm 18848 0
uvcvideo 58116 0
compat_ioctl32 2304 1 uvcvideo
videodev 29440 1 uvcvideo
v4l1_compat 15492 2 uvcvideo,videodev
v4l2_common 18304 2 uvcvideo,videodev
rfcomm 41232 2
l2cap 25600 13 rfcomm
hci_usb 16540 2
bluetooth 60772 7 rfcomm,l2cap,hci_usb
i915 32512 2
acpi_cpufreq 10796 1
cpufreq_conservative 8712 0
cpufreq_stats 7104 0
cpufreq_powersave 2688 0
cpufreq_userspace 5156 0
drm 82324 3 i915
intel_agp 25492 1
agpgart 34760 3 drm,intel_agp
snd_seq_midi 9376 0
snd_seq_oss 35456 0
snd_seq_dummy 4868 0
snd_pcm_oss 42144 0
snd_hda_intel 368304 1
snd_seq_midi_event 8320 2 snd_seq_midi,snd_seq_oss
snd_rawmidi 25760 1 snd_seq_midi
snd_hwdep 10500 1 snd_hda_intel
snd_pcm 78596 2 snd_pcm_oss,snd_hda_intel
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
snd_mixer_oss 17920 1 snd_pcm_oss
snd_seq 54224 6 snd_seq_midi,snd_seq_oss,snd_seq_dummy,snd_seq_midi_event
snd_timer 24836 2 snd_pcm,snd_seq
snd_seq_device 9612 5 snd_seq_midi,snd_seq_oss,snd_seq_dummy,snd_rawmidi,snd_seq
snd 56996 13 snd_seq_oss,snd_seq_dummy,snd_pcm_oss,snd_hda_intel,snd_rawmidi,snd_hwdep,snd_pcm,snd_mixer_oss,snd_ seq,snd_timer,snd_seq_device
soundcore 8800 1 snd
ieee80211_crypt_tkip 11520 0
r8169 34692 0
ieee80211_crypt 6912 2 wl,ieee80211_crypt_tkip
iTCO_wdt 13092 0
iTCO_vendor_support 4868 1 iTCO_wdt
serio_raw 7940 0
psmouse 68200 0
fuse 50324 3
ahci 28548 0
squashfs 49032 0
unionfs 73168 0
ehci_hcd 37900 0
usbhid 32256 0
hid 38912 1 usbhid
isofs 36132 0
zlib_inflate 18176 2 squashfs,isofs

============ dmesg-firmware ============

============ kernel version ============
2.6.24-24-lpia

============ ifconfig ============
eth0 Link encap:Ethernet HWaddr 00:24:e8:fa:e9:e8
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:e8ff:fefa:e9e8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1126 errors:0 dropped:0 overruns:0 frame:0
TX packets:678 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:464125 (453.2 KB) TX bytes:100046 (97.7 KB)
Interrupt:220 Base address:0xa000

eth1 Link encap:Ethernet HWaddr 00:23:08:e7:30:7c
inet6 addr: fe80::223:8ff:fee7:307c/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1620 (1.5 KB) TX bytes:1716 (1.6 KB)
Interrupt:16

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:1150 errors:0 dropped:0 overruns:0 frame:0
TX packets:1150 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:57884 (56.5 KB) TX bytes:57884 (56.5 KB)

sms Link encap:Ethernet HWaddr 00:53:49:41:4e:4f
UP BROADCAST NOARP 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)


============ iwconfig ============
eth1 IEEE 802.11 Nickname:""
Access Point: Not-Associated
Link Quality:5 Signal level:203 Noise level:171
Rx invalid nwid:0 invalid crypt:7 invalid misc:0
 
Old 01-04-2010, 11:38 AM   #5
lbutler
LQ Newbie
 
Registered: Feb 2007
Location: Edinburgh, UK
Distribution: debian gnu/linux lenny
Posts: 6

Rep: Reputation: 0
To view the permissions of /media, try

ls -ld /media

and for the files under /media, try
ls -l /media

--------
The output of lspci seems to have been omitted.

--------
For the wireless problem, please open your wireless router to allow access
without any encryption and try to access it. Are you able to do so?
 
Old 01-05-2010, 02:24 PM   #6
ajcollette7
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Results:
aj@aj:~$ ls -ld /media
drwxr-xr-x 2 root root 4096 2009-01-08 14:24 /media
aj@aj:~$ ls -l /media
total 0

I am unable to connect to my wireless router even with encryption turned off.

Thanks for you help!
 
Old 01-05-2010, 04:24 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
From your output, your wireless router is eth1. Since you're using Ubuntu/GNOME, you should have a "connection" icon in the upper, right area of your screen. When you right-click on that icon, you should see a list of access points visable to your wireless device. (Since it's a Broadcom device, you may need to run b43-fwcutter on the DOS .inf file to extract the firmware needed to get the device to work properly.)

Your problem may be as simple as an update to the b43 driver changing the location where the driver "looks" to find the firmware it needs.

Wait: I just looked at your lsmod output, and the only wireless network driver I see there is a r8169 driver, which is a driver for a RealTek 8101E. Are you sure you've got a Broadcom device? If so, you may be loading the wrong driver.
 
Old 01-07-2010, 10:38 PM   #8
ajcollette7
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
I tried deselecting the Broadcomm ATA driver and connect. I was unable to connect both with encryption and without.

I'm not sure which driver I need though. Is there an easy way to bring up my components to confirm? I looked for a menu option to see my hardware components but couldn't find one.

Last edited by ajcollette7; 01-07-2010 at 10:40 PM.
 
Old 01-08-2010, 02:44 AM   #9
lbutler
LQ Newbie
 
Registered: Feb 2007
Location: Edinburgh, UK
Distribution: debian gnu/linux lenny
Posts: 6

Rep: Reputation: 0
Please try lsmod (the output was omitted from your earlier posts).
Here is the output from lsmod on my system, yours should be similar.

# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)

The second from last line shows the wireless card.
 
Old 01-08-2010, 02:46 AM   #10
lbutler
LQ Newbie
 
Registered: Feb 2007
Location: Edinburgh, UK
Distribution: debian gnu/linux lenny
Posts: 6

Rep: Reputation: 0
I meant to say lspci, not lsmod, in the previous post as the sample output shows.
 
Old 01-08-2010, 02:08 PM   #11
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
Originally Posted by lbutler View Post
I meant to say lspci, not lsmod, in the previous post as the sample output shows.
Note post 4, above, where lspci output is reported as empty.

Note to OP (ajcollette7): When including console output in a post, surrounding the pasted output with CODE and /CODE tags (i.e., the words inside square brackets) preserves the spacing and make the pasted text much easier to read.
 
Old 01-09-2010, 10:19 AM   #12
ajcollette7
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by PTrenholme View Post
Note post 4, above, where lspci output is reported as empty.

Note to OP (ajcollette7): When including console output in a post, surrounding the pasted output with CODE and /CODE tags (i.e., the words inside square brackets) preserves the spacing and make the pasted text much easier to read.
You mean to leave it as is without formatting?
 
Old 01-09-2010, 02:55 PM   #13
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
Originally Posted by ajcollette7 View Post
You mean to leave it as is without formatting?
Yes. By default multiple white spaces are reduced to a single white space when you post to a thread. The code tags change the defaults. There is a complete description of all the BB tags you can use available if you click on the BB Code link in the small box at the bottom left of the page (after you scroll there, of course). (I copied that link into the prior sentence for your convenience.)
 
Old 01-17-2010, 03:31 AM   #14
ajcollette7
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry - thought I had previously posted this but see I didn't

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 System peripheral: JMicron Technologies, Inc. Unknown device 2382
02:00.2 SD Host controller: JMicron Technologies, Inc. Unknown device 2381
02:00.3 System peripheral: JMicron Technologies, Inc. Unknown device 2383
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 02)
 
Old 01-18-2010, 09:12 AM   #15
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
Originally Posted by ajcollette7 View Post
I'm relatively new to Linux. My netbook ran updates yesterday for Ubuntu and now I am unable to reconnect to wireless network connection. I am using WPA2 encrypted security. I am able to connect via wired LAN.

Also, when I went to connect using USB mobile connection, I get an error "unable to mount location". I get the same error if I try to connect my external CD drive.

I have tried to force mount but no luck. I could use some suggestions!
Thanks for your help.
If you do a ls -l /bin/mount, is the s ("set uid") flag turned on? There are several command that require access to kernel areas to work properly, so they need to set their "effective" user id to "root," and the s flag indicates that this has been done. Here, for example, is the list of such command in a Jaunty system:
Code:
$ ls -l /Jaunty/bin/ | grep rws
-rwsr-xr-x. 1 root root   27152 2009-03-05 14:53 fusermount
-rwsr-xr-x. 1 root root   78016 2009-02-18 13:42 mount
-rwsr-xr-x. 1 root root   33168 2007-12-10 11:03 ping
-rwsr-xr-x. 1 root root   28968 2007-12-10 11:03 ping6
-rwsr-xr-x. 1 root root   32688 2009-04-03 22:50 su
-rwsr-xr-x. 1 root root   56472 2009-02-18 13:42 umount
 
  


Reply

Tags
ubuntu, wireless, wpa2


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
USB adapter sees WPA2 as WPA. Do I update WiFi driver, net manager, or kernel? CyyberspaceCowboy Linux - Networking 10 11-16-2009 10:45 PM
Needed - Distro that supports wireless internet, ability to run from 8 GB USB drive PenguinnPower Linux - Distributions 10 12-27-2008 08:34 AM
Lost internet connection after update drinkymilk Linux - Newbie 2 06-27-2008 02:18 PM
CNet Wireless-G USB Dongle 54 Mbps 802.11g, WPA/AES/WPA2 compatible to SuSe 10.1? ungua Linux - Hardware 2 06-14-2007 05:31 AM
lost writing ability on usb-stick / not possible with protocol "drives" - how to fix? ungua SUSE / openSUSE 3 11-24-2004 08:11 PM


All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration