Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

I have had some good advice as to how to connect my internet apps (which dont work) to the broadband modem which says it is connected. In response to one of the answers (from hippiejake) I gleaned the following from the terminal

-bruce@dell:~$ /sbin/ifconfig -a
eth1      Link encap:Ethernet  HWaddr 00:12:f0:80:6f:6f  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::212:f0ff:fe80:6f6f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:364 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1234 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:55827 (55.8 KB)  TX bytes:57524 (57.5 KB)
          Interrupt:17 Base address:0x2000 Memory:dfdfd000-dfdfdfff 

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:767 errors:0 dropped:0 overruns:0 frame:0
          TX packets:767 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:111743 (111.7 KB)  TX bytes:111743 (111.7 KB)

wlan0     Link encap:Ethernet  HWaddr 00:12:3f:d0:1d:bc  
          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:18 Memory:dfdfe000-dfe00000 

This seems to show that the ethernet is connected to the internet, but the wlan interface isn't. Is this the problem. How do i change it back to normal - with wlan on the internet?

asked 19 May '10, 21:44

Bruce%20Morrison's gravatar image

Bruce Morrison
21113
accept rate: 0%

edited 20 May '10, 16:04

jeremy's gravatar image

jeremy ♦♦
1.0k1516

Please use markdown to format you text correctly. You can format code or shell logs via 2 white spaces at the beginning of each line. it makes it much more readable, thanks!

(20 May '10, 06:39) guerda

Please accept an answer, or provide more details so we can help.

(14 Jun '11, 11:41) rfelsburg ♦



How do i change it back to normal - with wlan on the internet?

There is some missing information here, but I assume you would like to connect a Linux PC to a wireless router+modem box. In that case, you have to configure your wireless card to talk to your wireless router. Then, you have to set up an IP address for your wireless card.

You should be root when doing this.

To connect to a wireless router/access-point, you will need to use /usr/sbin/iwconfig:

For instance: # iwconfig wlan0 essid "MyWirelessNetwork" key "10AB20DF"

To setup an IP you may: 1) Try running # dhclient wlan0 to get and IP from your router automatically via DHCP 2) Try running # ifconfig wlan0 192.168.1.4

To not use eth1 for internet access, you may do lots of things. I would just unplug the cable.

Cheers!

link
This answer is marked "community wiki".

answered 21 May '10, 20:25

erik's gravatar image

erik
11
accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6

Asked: 19 May '10, 21:44

Seen: 2,402 times

Last updated: 14 Jun '11, 11:41

powered by OSQA