LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-15-2009, 03:27 PM   #16
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15

ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:00:f0:71:c3:41

inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::200:f0ff:fe71:c341/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:45053 errors:0 dropped:0 overruns:0 frame:0

TX packets:34868 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:32412165 (32.4 MB) TX bytes:6714751 (6.7 MB)

Interrupt:10



eth1 Link encap:Ethernet HWaddr 00:0e:35:1e:de:f8

inet6 addr: fe80::20e:35ff:fe1e:def8/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:69177 errors:0 dropped:0 overruns:0 frame:0

TX packets:5549 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:672 (672.0 B)

Interrupt:5 Base address:0xa000 Memory:d0002000-d0002fff



eth1:avahi Link encap:Ethernet HWaddr 00:0e:35:1e:de:f8

inet addr:169.254.9.35 Bcast:169.254.255.255 Mask:255.255.0.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

Interrupt:5 Base address:0xa000 Memory:d0002000-d0002fff



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)



$
 
Old 11-15-2009, 03:29 PM   #17
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
If you type in
Code:
sudo ifup eth
do you get any errors? If so, post them, if not, run
Code:
ifconfig -a
again and post the output please.

Kind regards,

Eric
 
Old 11-15-2009, 03:37 PM   #18
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
sudo ifup eth1

Internet Systems Consortium DHCP Client V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/eth1/00:0e:35:1e:de:f8

Sending on LPF/eth1/00:0e:35:1e:de:f8

Sending on Socket/fallback

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

* Stopping the Firestarter firewall...

...done.

* Starting the Firestarter firewall...

...fail!

run-parts: /etc/network/if-up.d/50firestarter exited with return code 3




ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:00:f0:71:c3:41

inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::200:f0ff:fe71:c341/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:46405 errors:0 dropped:0 overruns:0 frame:0

TX packets:35940 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:32930552 (32.9 MB) TX bytes:6971572 (6.9 MB)

Interrupt:10



eth1 Link encap:Ethernet HWaddr 00:0e:35:1e:de:f8

inet6 addr: fe80::20e:35ff:fe1e:def8/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:95564 errors:0 dropped:0 overruns:0 frame:0

TX packets:7704 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:672 (672.0 B)

Interrupt:5 Base address:0xa000 Memory:d0002000-d0002fff



eth1:avahi Link encap:Ethernet HWaddr 00:0e:35:1e:de:f8

inet addr:169.254.9.35 Bcast:169.254.255.255 Mask:255.255.0.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

Interrupt:5 Base address:0xa000 Memory:d0002000-d0002fff



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)



$
 
Old 11-15-2009, 04:45 PM   #19
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by lucypeters View Post
sudo ifup eth1
May I ask, do you want to connect to wireless network "A1" or "A2"?

Thanks
 
Old 11-15-2009, 04:53 PM   #20
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
sudo ifup eth1
ifup: interface eth1 already configured

I would like to connect to wireless network A2.
 
Old 11-15-2009, 05:00 PM   #21
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by lucypeters View Post

sudo iwconfig eth1 essid A1

But that is from your post.
You told to your wireless card connect to "A1" network.

Last edited by nimnull22; 11-15-2009 at 05:03 PM.
 
Old 11-15-2009, 05:11 PM   #22
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
I have just checked http://192.168.0.1/st_device.html page and details as below:

Firmware Version: 2.75 , Thu, 29 Jun 2006
LAN
MAC Address
00-11-95-08-1f-0c
IP Address
192.168.0.1
Subnet Mask
255.255.255.0
DHCP Server
Enabled

WAN
MAC Address
00-11-95-08-1f-0d
Connection
DHCP Client Connected
IP Address
82.23.50.166
Subnet Mask
255.255.252.0
Default Gateway
82.23.48.1
DNS
194.168.4.100 194.168.8.100

Wireless 802.11g
SSID
A2
Channel
13
Encryption
TKIP
 
Old 11-15-2009, 05:18 PM   #23
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
I have typed A1. My apology.

Please find below details for wireless connection A2.

sudo iwconfig eth1 essid A2

sudo iwconfig eth1 ap 00:11:95:08:1F:0C

sudo iwconfig eth1 key a2a4c6c3d5d4f5a2f4b2b5b3a6

sudo iwconfig eth1 up

iwconfig: unknown command "up"

sudo dhclient

There is already a pid file /var/run/dhclient.pid with pid 20960

killed old client process, removed PID file

Internet Systems Consortium DHCP Client V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/pan0/b6:2d:de:60:c2:73

Sending on LPF/pan0/b6:2d:de:60:c2:73

Listening on LPF/eth1/00:0e:35:1e:de:f8

Sending on LPF/eth1/00:0e:35:1e:de:f8

Listening on LPF/eth0/00:00:f0:71:c3:41

Sending on LPF/eth0/00:00:f0:71:c3:41

Sending on Socket/fallback

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4

DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 6

receive_packet failed on eth0: Network is down

Terminated

sudo ifup eth1

ifup: interface eth1 already configured
 
Old 11-15-2009, 05:22 PM   #24
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Please do:

sudo ifdown eth1
sudo iwconfig eth1 essid A2
sudo iwconfig eth1 ap 00:11:95:08:1F:0C
sudo iwconfig eth1 key e32c3rc3xc3n9cn39nv9rrh
sudo ifup eth1

After that, type "dmesg | tail -n 200". Paste output to the http://pastebin.com/, and give us only URL, which pastebin will give you.

Last edited by nimnull22; 11-15-2009 at 05:27 PM.
 
Old 11-15-2009, 05:33 PM   #25
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Actually.

My previous post is not really correct. We have to change something:

sudo ifconfig down eth1
sudo iwconfig eth1 essid A2
sudo iwconfig eth1 ap 00:11:95:08:1F:0C
sudo iwconfig eth1 key e32c3rc3xc3n9cn39nv9rrh
sudo ifconfig up eth1

Try this way
 
Old 11-15-2009, 05:38 PM   #26
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
sudo ifdown eth1

* Stopping the Firestarter firewall...

...done.

* Starting the Firestarter firewall...

...fail!

run-parts: /etc/network/if-down.d/50firestarter exited with return code 3

RTNETLINK answers: No such process

There is already a pid file /var/run/dhclient.eth1.pid with pid 22778

removed stale PID file

Internet Systems Consortium DHCP Client V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/eth1/00:0e:35:1e:de:f8

Sending on LPF/eth1/00:0e:35:1e:de:f8

Sending on Socket/fallback

DHCPRELEASE on eth1 to 192.168.0.1 port 67

sudo iwconfig eth1 essid A2

sudo iwconfig eth1 ap 00:11:95:08:1F:0C

sudo iwconfig eth1 key a2a4c6c3d5d4f5a2f4b2b5b3a6

sudo ifup eth1

Internet Systems Consortium DHCP Client V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



Listening on LPF/eth1/00:0e:35:1e:de:f8

Sending on LPF/eth1/00:0e:35:1e:de:f8

Sending on Socket/fallback

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 20

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

* Stopping the Firestarter firewall...

...done.

* Starting the Firestarter firewall...

...fail!

run-parts: /etc/network/if-up.d/50firestarter exited with return code 3



http://pastebin.com/m30e70c6b
 
Old 11-15-2009, 05:43 PM   #27
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
sudo ifconfig up eth1
eth1: Unknown host
ifconfig: `--help' gives usage information.

sudo ifconfig down eth1
eth1: Unknown host
ifconfig: `--help' gives usage information.
 
Old 11-15-2009, 05:53 PM   #28
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Thanks. Forget about sudo ifconfig up eth1 - looks like it doesn't work on ubuntu, never mind.

Post here, please output for: "iwconfig"

Thanks.
 
Old 11-15-2009, 06:07 PM   #29
lucypeters
Member
 
Registered: Nov 2009
Posts: 48

Original Poster
Rep: Reputation: 15
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 unassociated ESSID:"BTHomeHub-5191"
Mode:Managed Frequency=2.462 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thrff Fragment thrff
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:25 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

The BTHomeHub-5191 is somebody else's wireless connection.
 
Old 11-15-2009, 06:11 PM   #30
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by nimnull22 View Post
Thanks. Forget about sudo ifconfig up eth1 - looks like it doesn't work on ubuntu, never mind.
the command is
Code:
sudo ifconfig eth1 up

Last edited by repo; 11-15-2009 at 06:12 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with encryption using wicd manager rastro123 Linux - Networking 6 10-03-2009 03:11 AM
LXer: Network-Manager-GNOME vs. Wicd Reviewed LXer Syndicated Linux News 1 12-03-2007 04:26 PM
Online backup manager: missing scheduled backups ronaldv Ubuntu 0 11-08-2007 02:14 PM
Need help getting online wirelessly Suse 10.1 OSlinuX Linux - Hardware 3 03-25-2007 01:47 PM
How Can I get online wirelessly? technodude90 SUSE / openSUSE 3 10-30-2004 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:54 PM.

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
Open Source Consulting | Domain Registration