Results 1 to 5 of 5
Dear all,
I have a problem using 'aptitude', the ssh shell outputs an error telling me it cannot get to the ubuntu web address to download the package. I believe ...
- 08-20-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 3
Connect to internet
Dear all,
I have a problem using 'aptitude', the ssh shell outputs an error telling me it cannot get to the ubuntu web address to download the package. I believe it is because I did not set the internet connection correctly. So here is my config (I believe it is the most basic one):
I use the ssh shell over the wifi AP provided by my plug computer. I connected the ethernet port to my home router, note that this router correctly sees the plug, provides it with an IP address via DHCP and the other computers connected to the router use the internet with no problem at all.
As this did not work I had a look at my /etc/network/interfaces file and it shows:
# Used by ifup( and ifdown(. See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
I believe this is the most basic setup, isn't it? You have any idea of where I could go wrong? Or what I could check?
Regards,
Antoine.
- 08-20-2011 #2
Hello and Welcome!
What version of Linux are you using?
And are you able to connect to the Internet at all?
What is the output ofCode:ifconfig -a
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 08-20-2011 #3Just Joined!
- Join Date
- Aug 2011
- Posts
- 3
Hey Jay,
My linux version is Ubuntu 9.04 (ARM version). I am able to connect to the internet using the other machines on the router but I am not sure how to check my internet access using the plug computer that causes problems, any tip?
As for the result of 'ifconfig -a' it returns:
Does that give you any more idea? Whatever the answer, thanks for this bit of time you take to help!Code:eth0 Link encap:Ethernet HWaddr f0:ad:4e:00:80:07 inet addr:192.168.0.14 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f2ad:4eff:fe00:8007/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14716 errors:0 dropped:0 overruns:0 frame:0 TX packets:8100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2471132 (2.4 MB) TX bytes:1255339 (1.2 MB) Interrupt:11 eth1 Link encap:Ethernet HWaddr f0:ad:4e:00:80:08 inet6 addr: fe80::f2ad:4eff:fe00:8008/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:266 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:96 (96.0 B) TX bytes:60624 (60.6 KB) Interrupt:15 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:950 errors:0 dropped:0 overruns:0 frame:0 TX packets:950 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:149738 (149.7 KB) TX bytes:149738 (149.7 KB) pan0 Link encap:Ethernet HWaddr ca:84:7c:25:aa:1c 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) uap0 Link encap:Ethernet HWaddr 00:24:23:39:11:3e inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::224:23ff:fe39:113e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22697 errors:0 dropped:0 overruns:0 frame:0 TX packets:10545 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2384478 (2.3 MB) TX bytes:1747326 (1.7 MB)
Antoine.
- 08-20-2011 #4
Is there a firewall? If yes, does it allow multiple interfaces from one machine (IE eth0, and eth1)? Does the other machines have multiple interfaces, as well?
- 08-20-2011 #5Just Joined!
- Join Date
- Aug 2011
- Posts
- 3
I found out what was going wrong actually.
The internet was working ok, as shown using a ping on google:
[CODE]ping -c 1 google.fr
I am using a computer with an ARM architecture called a DreamPlug which turns out to be using Ubuntu 9.04.
Ubuntu for ARM architecture is no longer maintained (probably for some strategic reason which are not relevant here) and it turns out that the ubuntu servers that are used for the package management (the ones used when runnind commands 'aptitude' and 'apt-get') are not the same for the maintained version and the unmaintained version.
This is all coming out from a site you can find googling for 'bertelsen dreamplug jaunty packages' (sorry this is stupid by the forum engine does not let me post links...).
Thanks for you help guys, you would not have found out without your help!
Antoine.


Reply With Quote