LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant connect to wireless (https://www.linuxquestions.org/questions/linux-newbie-8/cant-connect-to-wireless-4175466049/)

rahul179 06-14-2013 02:15 PM

Cant connect to wireless
 
New to Ubunto (the first thing)

#1 I can run my wireless in Windows with ease but my wireless network is not showing up in the menu

#2 : My driver (Broadcom) is upto date & there is no issue of WAN /Security or any other obvious error

Can someone help me connect my wireless so that it apperas on the network device,

Thanks

schneidz 06-14-2013 02:21 PM

in order for someone to help you, they would need diagnostic information like the info asked for in this response:
http://www.linuxquestions.org/questi...2/#post4970281

rahul179 06-14-2013 02:39 PM

rahul@rahul-HP-Pavilion-dv6-Notebook-PC:~$ sudo ifconfig wlan0 up && ifconfig
wlan0: ERROR while getting interface flags: No such device


iwconfig

rahul@rahul-HP-Pavilion-dv6-Notebook-PC:~$ iwconfig
wwan0 no wireless extensions.
lo no wireless extensions.
eth0 no wireless extensions.

This is the error. I am able to connect to my internet using "USB Dongle" but NOT using "WiFI". Is that something do with Broadcomm driver ?

shane25119 06-14-2013 03:11 PM

Hmmm,

Are other networks showing in the list?

I had a problem where my wifi adapter was disabled by default.

This command fixes it nicely:

Code:

sudo iwconfig
sudo ifup wlan0

If that does it, you can add those commands to startup so you don't have to do it everytime you power on the computer.

rahul179 06-14-2013 03:18 PM

OK.
rahul@rahul-HP-Pavilion-dv6-Notebook-PC:~$ sudo ifup wlan0
Ignoring unknown interface wlan0=wlan0.

Also, in software settings, my BROADCOM device is not recognised by Ubuntu. Seems I have to update Broadcom driver. Any help on that. I am new to Ubunto. I shown you the output of all the commands. Mnay thanks for all your help in advace

shane25119 06-14-2013 03:41 PM

I was looking at your iwconfig output above:

Substitute wwan0 for wlan0

Just to verify... are you able to get wired network access?

rahul179 06-14-2013 03:46 PM

Yes, The issue with my Broadcom, I think to install drivers that support Ubuntu but cant go it myself (If thats an issue). Tks

rahul@rahul-HP-Pavilion-dv6-Notebook-PC:~$ sudo ifup wlan0
Ignoring unknown interface wlan0=wlan0.

schneidz 06-14-2013 04:12 PM

you dont show us the output of your iwconfig command; this information mite be helpful in diagnosing:
Code:

echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n

shane25119 06-14-2013 04:13 PM

Broadcom is well supported by Ubuntu.

Can you give us the output of:

Code:

sudo iwconfig
sudo ifup wwan0


rahul179 06-14-2013 04:19 PM

rahul@rahul-HP-Pavilion-dv6-Notebook-PC:~$ echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n
uname:
Linux rahul-HP-Pavilion-dv6-Notebook-PC 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686 i686 GNU/Linux
lspci:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730/M96 [Mobility Radeon HD 4650/5165]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 02)
06:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller
06:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
06:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
06:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
06:00.4 System peripheral: JMicron Technology Corp. xD Host Controller
lsusb:
Bus 002 Device 006: ID 19d2:1177 ZTE WCDMA Technologies MSM
Bus 002 Device 004: ID 064e:a127 Suyin Corp.
Bus 006 Device 002: ID 138a:0001 Validity Sensors, Inc. VFS101 Fingerprint Reader
Bus 007 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsmod:
Module Size Used by
isofs 39211 1
cdc_ether 13245 0
cdc_acm 22338 4
usbnet 26567 1 cdc_ether
snd_hda_codec_hdmi 36185 1
joydev 17097 0
coretemp 13131 0
hp_wmi 17712 0
gpio_ich 13236 0
sparse_keymap 13658 1 hp_wmi
lib80211_crypt_tkip 17160 0
snd_hda_codec_idt 63896 1
snd_hda_intel 38307 3
snd_hda_codec 117580 3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
ir_lirc_codec 12739 0
lirc_dev 18670 1 ir_lirc_codec
snd_hwdep 13272 1 snd_hda_codec
ir_mce_kbd_decoder 12635 0
ir_sanyo_decoder 12465 0
wl 2902185 0
ir_sony_decoder 12462 0
ir_jvc_decoder 12459 0
hp_accel 25756 0
ir_rc6_decoder 12459 0
ir_rc5_decoder 12459 0
lis3lv02d 19463 1 hp_accel
ir_nec_decoder 12459 0
rc_rc6_mce 12454 0
snd_pcm 80890 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
input_polldev 13648 1 lis3lv02d
ene_ir 17870 0
microcode 18286 0
snd_page_alloc 14230 2 snd_pcm,snd_hda_intel
snd_seq_midi 13132 0
snd_seq_midi_event 14475 1 snd_seq_midi
rc_core 21266 11 ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,ene_ir,ir_mce_kbd_decoder,ir_jvc_decoder ,ir_rc6_decoder,ir_sanyo_decoder,rc_rc6_mce
lib80211 14040 2 wl,lib80211_crypt_tkip
wmi 18590 1 hp_wmi
parport_pc 27504 0
snd_rawmidi 25114 1 snd_seq_midi
bnep 17669 2
ppdev 12817 0
rfcomm 37420 12
video 18894 0
cfg80211 436177 1 wl
radeon 870822 3
uvcvideo 71279 0
ttm 71289 1 radeon
snd_seq 51280 2 snd_seq_midi_event,snd_seq_midi
videobuf2_vmalloc 12920 1 uvcvideo
videobuf2_memops 13042 1 videobuf2_vmalloc
videobuf2_core 39161 1 uvcvideo
snd_seq_device 14137 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 24411 2 snd_pcm,snd_seq
videodev 95806 2 uvcvideo,videobuf2_core
drm_kms_helper 47545 1 radeon
mac_hid 13037 0
snd 56485 16 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,s nd_hda_intel,snd_seq_device
drm 228750 5 ttm,drm_kms_helper,radeon
jmb38x_ms 17177 0
btusb 17986 0
bluetooth 202069 22 bnep,btusb,rfcomm
lpc_ich 16925 0
memstick 15842 1 jmb38x_ms
i2c_algo_bit 13197 1 radeon
psmouse 81038 0
lp 13299 0
serio_raw 13031 0
parport 40753 3 lp,ppdev,parport_pc
soundcore 12600 1 snd
usb_storage 47684 1
firewire_ohci 35292 0
firewire_core 61718 1 firewire_ohci
sdhci_pci 18158 0
ahci 25507 2
r8169 61531 0
sdhci 31824 1 sdhci_pci
libahci 26108 1 ahci
crc_itu_t 12627 1 firewire_core
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:26:9e:8d:08:5b
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 90:4c:e5:25:c6:0a
inet6 addr: fe80::924c:e5ff:fe25:c60a/64 Scope:Link
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)
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:65536 Metric:1
RX packets:208 errors:0 dropped:0 overruns:0 frame:0
TX packets:208 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42561 (42.5 KB) TX bytes:42561 (42.5 KB)

wwan0 Link encap:Ethernet HWaddr 02:0a:6c:f4:7b:5c
inet addr:42.105.197.181 Bcast:42.105.197.181 Mask:255.255.255.255
inet6 addr: fe80::a:6cff:fef4:7b5c/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:2656 errors:0 dropped:0 overruns:0 frame:0
TX packets:2149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2689082 (2.6 MB) TX bytes:374715 (374.7 KB)

ifconfig -a:
eth0 Link encap:Ethernet HWaddr 00:26:9e:8d:08:5b
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 90:4c:e5:25:c6:0a
inet6 addr: fe80::924c:e5ff:fe25:c60a/64 Scope:Link
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)
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:65536 Metric:1
RX packets:208 errors:0 dropped:0 overruns:0 frame:0
TX packets:208 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42561 (42.5 KB) TX bytes:42561 (42.5 KB)

wwan0 Link encap:Ethernet HWaddr 02:0a:6c:f4:7b:5c
inet addr:42.105.197.181 Bcast:42.105.197.181 Mask:255.255.255.255
inet6 addr: fe80::a:6cff:fef4:7b5c/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:2656 errors:0 dropped:0 overruns:0 frame:0
TX packets:2149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2689082 (2.6 MB) TX bytes:374715 (374.7 KB)

iwconfig:
wwan0 no wireless extensions.

lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11abg ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off

resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 wwan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wwan0
rahul@rahul-HP-Pavilion-dv6-Notebook-PC:~$

shane25119 06-14-2013 04:24 PM

Code:

resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 wwan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wwan0

It looks to me like you have a connection, it just isn't pulling a valid IP. So, I doubt it is a driver issue.

rahul179 06-14-2013 04:45 PM

Actually it was a driver issue so far but I updated the driver in the software tools. It just started working now. Many many thanks for all your help and time. I am not a IT geek but wanted to experiment out of Windows. My take one is that Linux is complicated so far, but then that's the fun in life, de-learning what you have learned and learning new things. Windows shuts your brain completely; Linux opens a whole new world. I will keep coming back to this forum - cheers all you guys - v helpful. Thanks.

shane25119 06-14-2013 04:48 PM

Rahul, glad it worked out for you!

My experience with Linux is it's "complicated" at first because it's so different from Windows. Once you use it for a bit, however, you realize the Linux setup is logical and it's Windows that's complicated.

If you could please, mark this thread as resolved and provide a little detail on how you updated the driver. That way it can be of help to the next person with this same problem.

rahul179 06-14-2013 05:04 PM

Resolved
 
Go to Sytem Settings - Software & updates - Drivers -Other Driver

If thebroadcom driver would say as "not recognized" the router wont showup. Intsall all the updated drivers for broadcom driver. The sad part is you need an alternative internet connection (LAN / USB). Dont know if Ubuntu can have all the drivers of Brodcam. It is the Broadcam that is usually uncompatible with Linux. Anu questions - email me rahulchopra82@gmail.com with subject 'Linux driver' - happy to offer my 2 cents of advice.

schneidz 06-15-2013 02:47 PM

also like windows vista, linux can suffer from occaisional driver support issues. one way around that is to buy a pc with linux pre-installed (like windows, hp/system-76 isnt gonna' send you a pc with a broken wifi card).


All times are GMT -5. The time now is 11:19 PM.