LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Ethernet Connection problem on Acer Aspire One D255E running Meego 1.2 (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/ethernet-connection-problem-on-acer-aspire-one-d255e-running-meego-1-2-a-893213/)

jay_pablo_69 07-22-2011 03:38 PM

Ethernet Connection problem on Acer Aspire One D255E running Meego 1.2
 
Hi.

I am having this problem with my netbook (Acer Aspire One D255E running Meego 1.2. I removed the original Linpus Lite that came with the device and installed Meego (The original Linupus Lite was a stripped down version of Meego). But after installing the OS, I cannot connect to the internet via the ethernet/LAN port. I typed [ lspci | grep -i net ] and it displayed my ethernet/network controllers:

01:00.0 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01).

I also did [ ifconfig ] and it showed all my links: eth0, lo, wlan0. I even pinged my network card:
[ Ping 127.0.0.1 ] and it's responding very well, but when I pinged my router or any web address it returns "...Destination unreachable".

My WiFi works very well, but my wired connection is not working not all!. I've searched the web but no positive result. I am writing from another PC cos I have no wireless router/connection at home to connect the AAO D255E.

Pls any help will be greatly appreciated. I don't know what else to do.

Thank you in advance!

markush 07-23-2011 02:19 PM

Hello,

could you please post the output of
Code:

lspci -k | grep -iA5 net
and
Code:

ifconfig
Markus

jay_pablo_69 07-24-2011 10:05 AM

Thank you Markus for responding.

Here is the output (I also included the output when I ping my network card):

Quote:

$ lspci -k | grep -iA5 net
01:00.0 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: atl1c
Kernel modules: atl1c
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e016
Kernel driver in use: ath9k
Kernel modules: ath9k
Quote:

$ ifconfig
eth0 Link encap:Ethernet HWaddr 1C:75:08:F4:E6:1B
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:45

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)

wlan0 Link encap:Ethernet HWaddr EC:55:F9:50:4C:1C
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)
Quote:

$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.156 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.117 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.119 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.129 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.118 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.121 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.121 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.121 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.119 ms
64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=0.118 ms
64 bytes from 127.0.0.1: icmp_seq=11 ttl=64 time=0.120 ms
64 bytes from 127.0.0.1: icmp_seq=12 ttl=64 time=0.121 ms
64 bytes from 127.0.0.1: icmp_seq=13 ttl=64 time=0.119 ms
64 bytes from 127.0.0.1: icmp_seq=14 ttl=64 time=0.120 ms
64 bytes from 127.0.0.1: icmp_seq=15 ttl=64 time=0.121 ms
64 bytes from 127.0.0.1: icmp_seq=16 ttl=64 time=0.119 ms
64 bytes from 127.0.0.1: icmp_seq=17 ttl=64 time=0.119 ms
....

markush 07-24-2011 10:23 AM

Well, both Interfaces, wired and wireless seem to be recognized by the system. But non of them is configured, what I mean is that you don't have a valid IP-configuration. Are you using DHCP?

Markus

jay_pablo_69 07-24-2011 08:35 PM

The output I posted was done using another computer. I ran the 2 commands [ $ lspci -k | grep -iA5 net ] & [$ ifconfig ] on the AAO D255E and copied the output into a USB to another PC and posted it. The netbook was not connected to the internet then bcos I had no wireless internet access to post the result. Here's the output again, with wireless connection (working very well) & LAN cable connection (not working at all) all hooked on; and I'm also using DHCP:

Quote:

$ lspci -k | grep -iA5 net
01:00.0 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: atl1c
Kernel modules: atl1c
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e016
Kernel driver in use: ath9k
Kernel modules: ath9k

$ ifconfig
eth0 Link encap:Ethernet HWaddr 1C:75:08:F4:E6:1B
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::1e75:8ff:fef4:e61b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50 errors:0 dropped:27 overruns:27 frame:27
TX packets:34 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:7550 (7.3 KiB) TX bytes:6680 (6.5 KiB)
Interrupt:45

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:866 errors:0 dropped:0 overruns:0 frame:0
TX packets:866 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41661 (40.6 KiB) TX bytes:41661 (40.6 KiB)

wlan0 Link encap:Ethernet HWaddr EC:55:F9:50:4C:1C
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ee55:f9ff:fe50:4c1c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4703 errors:0 dropped:3 overruns:0 frame:0
TX packets:4511 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2733381 (2.6 MiB) TX bytes:779386 (761.1 KiB)
Thanks.

markush 07-24-2011 11:36 PM

Well, this will never work. Your wired-adapter has an IP-address outside of the network with the wireless adapter.
Code:

eth0 Link encap:Ethernet HWaddr 1C:75:08:F4:E6:1B
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0

You should check where this address is configured. I assume that both wired and wireless network use the same network. Are you sure that your wired adapter is configured to use DHCP?

Markus

jay_pablo_69 07-25-2011 12:27 PM

When my ethernet cable is plugged in, it reads "Connected using: DHCP" on the connection panel (I use MeeGo Linux). Then it shows the IP-address and sub-net mask (as shown in the output).

The internet connection on the netbook comes from the same wired+wireless router (I have my LAN cable connected to the same wireless router) and I surf via the wireless connection. I don't know how the wired IP-address is outside the network of the wireless. The wired and wireless use the same network.

Pls how can I reconfigure or correct this?

Thanks for your kind assistance.

markush 07-25-2011 01:04 PM

Well, your eth0 is configured for the network-address 192.168.0.0/24 and your wlan0 for 192.168.1.0/24. I'd suggest that you change the ipaddress for the wired network to the following settings (static)
Code:

IP-address: 192.168.1.103, Broadcast-address: 192.168.1.255
the subnet-mask remains the same 255.255.255.0
With this settings eth0 is in the same subnet as wlan0 and you can try out if it works.

Markus

jay_pablo_69 07-25-2011 03:25 PM

I tried it but it didn't work. To configure DHCP I need to create or edit this file "ifcfg-eth0" but I looked under /etc/sysconfig/network-scripts and it was empty. How do I create or edit this file? How do I setup this netbook to use DHCP?

markush 07-25-2011 03:32 PM

You should read the documentation for your distribution, I don't have any experience with Meego.
Such configuration as a static IP depend on the distribution.

Markus

jay_pablo_69 07-25-2011 03:44 PM

Meego is very similar to Red Hat/Fedora. I found this sites:
http://www.linuxheadquarters.com/how...rkconfig.shtml
http://www.cyberciti.biz/faq/rhel-ce...configuration/

I says how to create/modify the file ( I need to create it cos it's not in the 'network-scripts' folder) but it does not say how to create and SAVE this file. I got to the editing part but I don't know how to save it from command line. Meego has no info on this.

I'm really stuck here. Thanks for your assistance.

markush 07-25-2011 03:49 PM

Well, you will have to use an editor and you'll have to do it as root (or with sudo) because you don't have write-permissions in the /etc directory as a normal user.

Markus

jay_pablo_69 07-25-2011 03:51 PM

The file extension should be " .conf" or " .cfg" or what? Pls I'm not sure what it should be? Thanks.

markush 07-25-2011 03:58 PM

Well, in the explanation in your first link, here http://www.linuxheadquarters.com/how...rkconfig.shtml you'll have to follow either the steps 2-4 or step 5. That means you can use the /sbin/ifconfig and the /sbin/route command to change the settings or edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file.

Markus

markush 07-25-2011 04:02 PM

You may want to take a look at this thread http://www.linuxquestions.org/questi...08#post4424908 post #10

Markus


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