No network access

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

No network access

Postby hsm1 on Tue Apr 17, 2012 6:00 am

Hi there,

I just installed LMDE 32bit in a dual boot along side windows 7. My problem is that I am unable to connect to the internet, both wired and wireless. When I plug in the Ethernet cable nothing happens. In the bottom right of the cable screen under the network icon it says disconnected.

I have a toshiba l650 laptop. The hardware listed under windows 7 says I have a Broadcom 802.11n wireless adapter and a Atheros AR8152 PCI-e Fast Ethernet Controller. I use wireless 99% of the time so that's what is important. Do I need to install drivers? I've looked under network setting but to be honest I'm new to Linux and not to sure what to do. Any help would be great thanks.

Hugo.
hsm1
Level 1
Level 1
 
Posts: 18
Joined: Mon Apr 16, 2012 2:10 am

Linux Mint is funded by ads and donations.
 

Re: No network access

Postby hsm1 on Tue Apr 17, 2012 5:05 pm

Anyone?
hsm1
Level 1
Level 1
 
Posts: 18
Joined: Mon Apr 16, 2012 2:10 am

Re: No network access

Postby hsm1 on Tue Apr 17, 2012 7:21 pm

from looking around I ran the lshw command and sudo /usr/lib/linuxmint/mintWifi/mintWifi.py

With lshw it says that the package is not installed and sudo /usr/lib/linuxmint/mintWifi/mintWifi.py says command not found.

The thing is, because I have no internet connection I can't update my system?
hsm1
Level 1
Level 1
 
Posts: 18
Joined: Mon Apr 16, 2012 2:10 am

Re: No network access

Postby DrHu on Tue Apr 17, 2012 7:50 pm

I don't know what mintwifi is for, usually to get connected to a network, it will be network manager application that is used, this is a GUI (netman, on the console), but the GUI provides enough info to work with for most cards (if detected), if not detected, check setup for card/networks/internet and basic troubleshooting
    The idea is similar to windows OS
    --if a network is not detected, you will likely have to update the OS in some way or install a specific network driver for that card..

Did a quick check, Mintwifi..
http://mentoliptus.blogspot.ca/2008/03/ ... howto.html
--could be a little out of date, madwifi used to be very popular for driver files; now Linux distributions tend to include any that were missing that madwifi provided..

Atheros chipet + Mintwifi package/script..
search.php?st=0&sk=t&sd=d&sr=posts&keywords=atheros+mintwifi

https://help.ubuntu.com/community/WifiD ... sSupported
--you may have to play around with some of the wireless configuration commands to see wireless status
Code: Select all
ifconfig
--general network card info
iwconfig
--ifconfig specifically for wireless, lets you change more settings on the card..
iwlist wlan0 scanning
--check available networks; assuming that the wireless card wlan0 (wireless card) is detected..


The inxi -N command or inxi -F, in a terminal will give you moire human readable information than the lshw command, unless you are knowledgeable about what is being shown

And I assume, since it multi-boots (dual-boots) that win 7 sees the wireless OK
--there is always a choice of using ndiswrapper options (using the windows wireless driver under Linux)

Wireless cards, setting up, checking/testing or troubleshooting items..
https://help.ubuntu.com/community/WifiDocs
User avatar
DrHu
Level 15
Level 15
 
Posts: 5893
Joined: Wed Jun 17, 2009 8:20 pm

Re: No network access

Postby hsm1 on Tue Apr 17, 2012 8:32 pm

Great thanks, I'll have a read and play through all of that. Thanks a lot for your help.

Another thing i'll ask, will probably sound stupid, but how do I connect to a wireless network(just make sure I was trying it the right way)?
When I click the icon in the bottom right it says disconnected and doesn't even give an option for wireless.
hsm1
Level 1
Level 1
 
Posts: 18
Joined: Mon Apr 16, 2012 2:10 am

Re: No network access

Postby äxl on Wed Apr 18, 2012 10:17 am

Content of python program /usr/lib/linuxmint/mintWifi/mintWifi.py:
Code: Select all
#!/usr/bin/env python

# MintWifi
#   No Copyright (What for?) Clem <root@linuxmint.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; Version 2
# of the License.

try:
   import os
   import commands
   import sys
   import string
except Exception, detail:
   print detail
   pass

# checking the card type
print("-------------------------")
print("* I. scanning WIFI PCI devices...")
os.system("lspci | grep \"Network controller\" > /tmp/detected_wireless_devices")
devices_file = open("/tmp/detected_wireless_devices")
for device_item in devices_file.readlines():
   deviceArray = device_item.split()
   device = ' '.join(deviceArray[3:])
   pci_id_line = commands.getoutput("lspci -n | grep " + deviceArray[0])
   pci_id_array = pci_id_line.split()
   pci_id = ' '.join(pci_id_array[2:])   
   print "  -- " + device
   print "      ==> PCI ID = " + pci_id   
print("-------------------------")
print("* II. querying ndiswrapper...")
os.system("ndiswrapper -l")   
print("-------------------------")
print("* III. querying iwconfig...")
os.system("iwconfig")
print("-------------------------")
print("* IV. querying ifconfig...")
os.system("ifconfig")
print("-------------------------")
print("* V. querying DHCP...")
os.system("sudo dhclient")
print("-------------------------")
print("* VI. querying nslookup google.com...")
os.system("nslookup google.com")

It's basically looking for wireless devices and calling ndiswrapper:
Code: Select all
sudo python /usr/lib/linuxmint/mintWifi/mintWifi.py
My Linux history: Ubuntu 10.04 - 10.10 - LMDE 201109 - UP4 My sources.list/preferences

Computers is not science. And it's not magic - it's something in between.
User avatar
äxl
Level 5
Level 5
 
Posts: 524
Joined: Fri Apr 06, 2012 6:14 am
Location: Germany


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 5 guests