LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lost Wireless WPA2 connection and ability to see USB after update (https://www.linuxquestions.org/questions/linux-newbie-8/lost-wireless-wpa2-connection-and-ability-to-see-usb-after-update-779257/)

ajcollette7 01-01-2010 11:43 AM

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.

PTrenholme 01-01-2010 05:29 PM

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.)

ajcollette7 01-02-2010 08:45 AM

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?

ajcollette7 01-03-2010 03:52 PM

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

lbutler 01-04-2010 11:38 AM

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?

ajcollette7 01-05-2010 02:24 PM

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!

PTrenholme 01-05-2010 04:24 PM

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.

ajcollette7 01-07-2010 10:38 PM

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.

lbutler 01-08-2010 02:44 AM

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.

lbutler 01-08-2010 02:46 AM

I meant to say lspci, not lsmod, in the previous post as the sample output shows.

PTrenholme 01-08-2010 02:08 PM

Quote:

Originally Posted by lbutler (Post 3818516)
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.

ajcollette7 01-09-2010 10:19 AM

Quote:

Originally Posted by PTrenholme (Post 3819265)
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?

PTrenholme 01-09-2010 02:55 PM

Quote:

Originally Posted by ajcollette7 (Post 3820188)
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.)

ajcollette7 01-17-2010 03:31 AM

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)

PTrenholme 01-18-2010 09:12 AM

Quote:

Originally Posted by ajcollette7 (Post 3810906)
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



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