LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-22-2010, 01:49 PM   #16
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15

This is what i get but i can not run a wi-fi card?

smith@smith-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:b3:46:f1:88
inet6 addr: fe80::225:b3ff:fe46:f188/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:15735 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2611698 (2.6 MB) TX bytes:810 (810.0 B)
Interrupt:17

eth1 Link encap:Ethernet HWaddr 00:25:56:66:4c:0d
inet addr:192.168.0.51 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe66:4c0d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41028 errors:0 dropped:0 overruns:0 frame:19905
TX packets:3046 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7104143 (7.1 MB) TX bytes:351886 (351.8 KB)
Interrupt:16 Base address:0xc000

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)

smith@smith-laptop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11 Nickname:""
Access Point: Not-Associated

pan0 no wireless extensions.

smith@smith-laptop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:25:b3:46:f1:88
inet6 addr: fe80::225:b3ff:fe46:f188/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:15735 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2611698 (2.6 MB) TX bytes:810 (810.0 B)
Interrupt:17

eth1 Link encap:Ethernet HWaddr 00:25:56:66:4c:0d
inet addr:192.168.0.51 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe66:4c0d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41181 errors:0 dropped:0 overruns:0 frame:19973
TX packets:3055 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7129051 (7.1 MB) TX bytes:353106 (353.1 KB)
Interrupt:16 Base address:0xc000

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)

pan0 Link encap:Ethernet HWaddr 2e:4a:26:14:00:61
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

smith@smith-laptop:~$ iwlist bcm4312
iwlist: unknown command `bcm4312' (check 'iwlist --help').
smith@smith-laptop:~$ iwlist --help
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation

smith@smith-laptop:~$ iwlist frequency
lo no frequency information.

eth0 no frequency information.

eth1 no frequency information.

pan0 no frequency information.

smith@smith-laptop:~$

I can not find a NetworkManager on my system? what is a good one to install?
 
Old 01-22-2010, 02:14 PM   #17
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
type:
Code:
sudo iwlist eth1 scan
It will tell you which access point it detects
then type:
Code:
sudo iwconfig eth1 essid "myssid"
(replace myssid with the ssid you want to connect to)
then type:
Code:
sudo dhclient eth1
and then you will be connected to the internet
 
Old 01-22-2010, 03:09 PM   #18
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
for completeness, I hope that you recognized that the iwconfig output shows that your wireless is alive and well**...

Agrouf's steps should get you going---see also the man page for iwconfig---eg if you need to include a key.

The best network tool I have ever seen is WICD--hopefully it is available with your package manager.


** I am confused as to why there is an IP listed for eth1, even though iwconfig says it is not connected.
 
Old 01-25-2010, 07:33 AM   #19
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
This is what i get when i run you commands. No i can not find a NetworkManager installed on the computer? I have a Network Connection and a proxy and tools but no manager. Can you recommend a good one?

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: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)
01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller
smith@smith-laptop:~$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 13d3:3249 IMC Networks
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 05c8:0202 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 046d:c51b Logitech, Inc. V220 Cordless Optical Mouse for Notebooks
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
smith@smith-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:b3:46:f1:88
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:17

eth1 Link encap:Ethernet HWaddr 00:25:56:66:4c:0d
inet addr:192.168.0.124 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe66:4c0d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1683 errors:0 dropped:0 overruns:0 frame:661
TX packets:204 errors:8 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:319437 (319.4 KB) TX bytes:25687 (25.6 KB)
Interrupt:16 Base address:0xc000

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)

smith@smith-laptop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:25:b3:46:f1:88
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:17

eth1 Link encap:Ethernet HWaddr 00:25:56:66:4c:0d
inet addr:192.168.0.124 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe66:4c0d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1718 errors:0 dropped:0 overruns:0 frame:661
TX packets:205 errors:8 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:325278 (325.2 KB) TX bytes:25952 (25.9 KB)
Interrupt:16 Base address:0xc000

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)

pan0 Link encap:Ethernet HWaddr ce:c8:26:d4:56:05
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

smith@smith-laptop:~$
 
Old 01-25-2010, 07:33 AM   #20
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
No this did not get me connected?
 
Old 01-25-2010, 08:04 AM   #21
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Is your access point encrypted (WEP or WPA)?
 
Old 01-25-2010, 08:19 AM   #22
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by LN Smith View Post
No this did not get me connected?
Please give a complete summary of your response to several recent suggestions, what you have found so far, and exactly what commands you are issuing---and what happens.

This includes Agrouf's question about WEP or WPA, but also:

Did you ever find the Ubuntu Network tool?

Did you try WICD?

Does iwlist show the access point you are trying to connect to? If so, that will tell you if it is encrypted. If not, then iwconfig is not going to connect.
 
Old 01-25-2010, 09:28 AM   #23
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Which distribution and kernel?

By the output the device is a Broadcon 4312 for wireless. Sometime the device is recognized and setup as the eth1 device.

The network configuration from the 'cli' if indeed the wireless device is assigned to 'eth1' can be performed with ifconfig & route. Most distributions have the means to initialize or configure the device.

I suggest that you look at 'How to Ask Questions the Smart Way'.

Plus, place your long data or output within the vbcode tags '# or Quote' to make the post cleaner therefore easier to read to aid you in diagnosis of the problem. The tags can be found at the top of the reply window.

 
Old 01-25-2010, 09:38 AM   #24
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
@LN*;

I have merged your two closely-related threads---please keep this all in one thread. Thanks
 
Old 01-25-2010, 12:24 PM   #25
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,029

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
ln seems not to be getting it (which is ok since they are probably new to this).

these commands are to help us to know what your system thinks is installed (not necessarily to get you connected).
lspci - will tell us the pci devices you have in your system.
lsusb - will tell us the usb devices you have in your system.
ifconfig - will tell us what network interface cards you have on your system.
iwconfig - will tell us which of your network interface cards has wireless capability (notice that the output for eth1 says stuff about ieee 802.11, access points, ... -- ieee 802.11 is the specification for wireless ethernet).

now that we know that, this should get you connected:
sudo iwlist eth1 scan - this will use the eth1 interface (that from the above command, we found out has wireless capability) and scan for wireless routers that are accessible.
sudo iwconfig eth1 essid "myssid" - now we dont know what wireless routers are in your area so assuming no security, substitute whats in red with the name of the router you want to connect to (the access point names will be provided by the previous command).
sudo dhclient - will attempt to get ip-address, subnet mask, dns server information automatically from your router assuming dhcp is turned on on your router.

as for a gui to handle this in the future try these:
sudo apt-get install network-manager - to install network manager applet
sudo apt-get install wicd - to install wicd
____________________

forgive me if this sounds condescending.

Last edited by schneidz; 01-25-2010 at 02:38 PM.
 
Old 01-25-2010, 12:40 PM   #26
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
I see the Quote tab and will use it in the future. As i said before i am knew to all this and please be Patience with me. The output the device is a Broadcon 4312, and i installed the STA wireless drivers , witch seam to be working.

Is your access point encrypted (WEP or WPA)I really have no ides The network connection will find them but i can not sign onto them. Running iwlist this is what i get:
Quote:
smith@smith-laptop:~$ iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation
smith@smith-laptop:~$
The WICD I have not downloaded or installed yet, i have to find and install it using a usb stick. I can find the network tools, but i can not find a Network Controller to show that the computer is looking for a wireless connection, or an icon.
 
Old 01-25-2010, 01:20 PM   #27
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Ok! i am not a programer! but this is what i get when i ran :
ifconfig
iwconfig
sudo iwlist eth1 scan
sudo iwconfig eth1 essid "myssid"
sudo dhclient
sudo apt-get install network-manager
sudo apt-get install wicd
Quote:
smith@smith-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:b3:46:f1:88
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:17

eth1 Link encap:Ethernet HWaddr 00:25:56:66:4c:0d
inet addr:192.168.0.51 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe66:4c0d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39360 errors:0 dropped:0 overruns:0 frame:21097
TX packets:2351 errors:14 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6778898 (6.7 MB) TX bytes:299894 (299.8 KB)
Interrupt:16 Base address:0xc000

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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

smith@smith-laptop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11 Nickname:""
Access Point: Not-Associated

pan0 no wireless extensions.

smith@smith-laptop:~$ sudo iwlist eth1 scan
[sudo] password for smith:
eth1 Scan completed :
Cell 01 - Address: 00:18:39:72:9C:23
ESSID:"linksys_OW_45452"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:4/5 Signal level:-64 dBm Noise level:-92 dBm
Encryption keyff
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s

smith@smith-laptop:~$ sudo dhclient
[sudo] password for smith:
There is already a pid file /var/run/dhclient.pid with pid 2176
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/pan0/ce:c8:26:d4:56:05
Sending on LPF/pan0/ce:c8:26:d4:56:05
Listening on LPF/eth0/00:25:b3:46:f1:88
Sending on LPF/eth0/00:25:b3:46:f1:88
Listening on LPF/eth1/00:25:56:66:4c:0d
Sending on LPF/eth1/00:25:56:66:4c:0d
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.124 on eth1 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.0.124 from 192.168.0.2
DHCPREQUEST of 192.168.0.124 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.0.124 from 192.168.0.2
bound to 192.168.0.124 -- renewal in 274053 seconds.
smith@smith-laptop:~$ sudo appt-get install network-manager
sudo: appt-get: command not found
smith@smith-laptop:~$ sudo apt-get install wicd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgksu1.2-1 libgksuui1.0-1 libqt4-sql-mysql libqt4-qt3support libmysqlclient15off libffado0 libqt4-sql qt4-qtconfig
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
python-urwid
The following packages will be REMOVED:
network-manager network-manager-gnome
The following NEW packages will be installed:
python-urwid wicd
0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 594kB of archives.
After this operation, 3,756kB disk space will be freed.
Do you want to continue [Y/n]? y
Err http://us.archive.ubuntu.com karmic/universe python-urwid 0.9.8.4-1
Cannot initiate the connection to us.archive.ubuntu.com:80 (91.189.88.40). - connect (101: Network is unreachable) [IP: 91.189.88.40 80]
Err http://us.archive.ubuntu.com karmic/universe wicd 1.6.1-3ubuntu1
Cannot initiate the connection to us.archive.ubuntu.com:80 (91.189.88.40). - connect (101: Network is unreachable) [IP: 91.189.88.40 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...8.4-1_i386.deb Cannot initiate the connection to us.archive.ubuntu.com:80 (91.189.88.40). - connect (101: Network is unreachable) [IP: 91.189.88.40 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu1_all.deb Cannot initiate the connection to us.archive.ubuntu.com:80 (91.189.88.40). - connect (101: Network is unreachable) [IP: 91.189.88.40 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
smith@smith-laptop:~$
is there someplace i can download the WICD? to a usb and then intall it? Still no luck with the internet
 
Old 01-25-2010, 01:28 PM   #28
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
try that:
Code:
sudo iwconfig eth1 essid "linksys_OW_45452"
sudo dhclient eth1
If that still does not work, please post the output of those commands:
Code:
sudo ifconfig eth1
cat /etc/resolv.conf
ping -c 3 localhost
ping -c 3 192.168.0.2
ping -c 3 75.126.162.205
ping -c 3 www.linuxquestions.org
ping -c 3 $(cat /etc/resolv.conf | grep nameserver | head -1 | sed "s/nameserver //g")

Last edited by Agrouf; 01-25-2010 at 01:39 PM.
 
Old 01-25-2010, 01:40 PM   #29
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Is there any way you can get to a regular (wired) connection? (Note that commands like apt-get are not going to work without a connection.)

Did you ever find the Ubuntu Network utility?

Agrouf's suggestion above SHOULD work---with one caveat: if dhcpcd is already running, you'll need to kill it. The no-brainer way to do it is to re-boot.
 
Old 01-25-2010, 02:59 PM   #30
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
No i can not get to a hard wired connection. this all started when i tried to tether my cell phone to use the broad band connection! It seams like i can ping out, but not connect to the internet? this is what i get:
Quote:
smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_ow_45452"
[sudo] password for smith:
smith@smith-laptop:~$ sudo dhclient eth1
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:25:56:66:4c:0d
Sending on LPF/eth1/00:25:56:66:4c:0d
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.124 on eth1 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPOFFER of 192.168.0.51 from 192.168.0.1
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.0.51 from 192.168.0.1
bound to 192.168.0.51 -- renewal in 350017 seconds.
smith@smith-laptop:~$
smith@smith-laptop:~$
smith@smith-laptop:~$ sudo ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:25:56:66:4c:0d
inet addr:192.168.0.51 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe66:4c0d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4320 errors:0 dropped:0 overruns:0 frame:1296
TX packets:178 errors:7 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:725003 (725.0 KB) TX bytes:33769 (33.7 KB)
Interrupt:16 Base address:0xc000

smith@smith-laptop:~$ cat /etc/resolv.conf
domain FIDS.NET
search FIDS.NET
nameserver 192.168.0.1
nameserver 192.168.0.2
smith@smith-laptop:~$ ping -c 3 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.081 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.067 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.073 ms

--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.067/0.073/0.081/0.011 ms
smith@smith-laptop:~$ ping -c 3 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=1 ttl=128 time=8.47 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=128 time=2.70 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=128 time=2.46 ms

--- 192.168.0.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.468/4.546/8.470/2.776 ms
smith@smith-laptop:~$ ping -c 75.126.162.205
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
smith@smith-laptop:~$ ping -c 3 www.linuxquestions.org
PING www.linuxquestions.org (75.126.162.205) 56(84) bytes of data.

--- www.linuxquestions.org ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2014ms

smith@smith-laptop:~$ ping -c 3 $(cat /etc/resolv.conf | grep nameserver | head -1 | sed "s/nameserver //g")
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=128 time=2.64 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=128 time=3.27 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=128 time=2.90 ms

--- 192.168.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.646/2.941/3.273/0.261 ms
smith@smith-laptop:~$
 
  


Reply


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




All times are GMT -5. The time now is 07:07 AM.

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