Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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
____________________
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:
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.
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
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.