• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Still stuck at apt-get ?  (Read 1569 times)
jm_eng
Newbie
*

Karma: 0
Posts: 16


View Profile
« on: September 03, 2010, 04:04:58 PM »

Refer to my other post for the goals / obstacles wiki
http://plugcomputer.org/plugforum/index.php?topic=2201.0
 
but my problem du jour is
I can not get apt-get to work. I get:

root@ubuntu:/etc# apt-get update
Err http://ports.ubuntu.com jaunty Release.gpg
  Could not resolve 'ports.ubuntu.com'
Err http://ports.ubuntu.com jaunty-updates Release.gpg
  Could not resolve 'ports.ubuntu.com'

I was using debian squeeze, but as we see above switching to ubuntu jaunty did not solve my problem.

Best regards,
jm_eng
« Last Edit: September 04, 2010, 02:19:36 PM by jm_eng » Logged

jm_eng
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #1 on: September 03, 2010, 11:19:08 PM »

Here are some more attemps via the New Plugger How to Wiki

ome more attempts:

The DHCP client is configured to ignore any DNS servers returned by the DHCP server
 and use 127.0.0.1 instead, while there is no local DNS server.
Consequently, you won't be able to connect to any hosts by name until you fix this.
In order to fix it: Edit /etc/dhcp3/dhclient.conf and comment out or delete the line
 "supersede domain-name-servers 127.0.0.1;".

--- My version of ubuntu 9.04 does not have the "supersede..." line in it so I just
proceeded with

Run "dhclient eth0".
Try "ping kernel.org" - it should work.

I go instead of this for these two operations above:

root@ubuntu:/etc/dhcp3# dhclient eth0

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/eth0/00:50:43:01:67:8a
Sending on   LPF/eth0/00:50:43:01:67:8a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.1.3 from 192.168.1.4
DHCPREQUEST of 192.168.1.3 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.3 from 192.168.1.4
bound to 192.168.1.3 -- renewal in 40035 seconds.
root@ubuntu:/etc/dhcp3#

root@ubuntu:/etc/dhcp3# ping kernel.org
ping: unknown host kernel.org
root@ubuntu:/etc/dhcp3#

I think "unknown Host" is a not working condition...

My setup:


[plug computer]--------->[Ethernet RJ45 on laptop]

Note laptop has AntaMedia DHCP server that is set to service the
previous connection to give the plug computer an ip address.

[USB on laptop]--------->[Belkin USB antenna]
[Belkin USB antenna]->Radio wave ~~~~~~~~~~~~~~~~>[2-wire AT&T router]
[2-wire AT&T router]------>AT&T Uverse to outside my house.

Logged

jm_eng
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #2 on: September 04, 2010, 02:01:42 PM »

I think "unknown Host" is a not working condition... That's Right !

Useful discover - My AT&T U-verse box has a local website and it's own DHCP server (I think).
Use this to get into your own AT&T installed router:  http://gateway.2wire.net/
You can use this to get the IP addresss of  your plug..

Also, make the setup more simple. My computer in the kitchen is already attached via ethernet cable
to AT&T router. There are some spare RJ45 jacks on the router. Use one of these to attach the Plug
Computer.  I can still acess Plug from my wireless laptop, in the tranquil environment of my garage !

[plug computer]--------->[Ethernet RJ45 on router]
[kitchen computer]------>[Ethernet RJ45 on router]

No longer need AntaMedia DHCP server on laptop, that is built into router .

[PuTTY on garage laptop with IP addr from http://gateway.2wire.net/ ]-------->[USB on laptop]--------->[Belkin USB antenna]
[Belkin USB antenna]->Radio wave ~~~~~~~~~~~~~~~~>[2-wire AT&T router]
[2-wire AT&T router]------>AT&T Uverse to inernet .

Does it work ?

root@ubuntu:~# ping kernel.org
PING kernel.org (149.20.20.133) 56(84) bytes of data.
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=1 ttl=56 time=37.1 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=2 ttl=56 time=36.6 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=3 ttl=56 time=36.6 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=4 ttl=56 time=36.8 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=5 ttl=56 time=36.9 ms
^C
--- kernel.org ping statistics ---
6 packets transmitted, 5 received, 16% packet loss, time 5006ms
rtt min/avg/max/mdev = 36.626/36.832/37.146/0.286 ms
root@ubuntu:~#

YES !

Happy Plugging !,
jm_eng
Logged

jm_eng
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #3 on: September 04, 2010, 02:19:02 PM »

Now let's try apt-get:

root@ubuntu:~# apt-get update
Hit http://ports.ubuntu.com jaunty Release.gpg
Get:1 http://ports.ubuntu.com jaunty-updates Release.gpg [189B]
Get:2 http://ports.ubuntu.com jaunty-security Release.gpg [189B]
Hit http://ports.ubuntu.com jaunty Release
Get:3 http://ports.ubuntu.com jaunty-updates Release [57.9kB]
Get:4 http://ports.ubuntu.com jaunty-security Release [57.9kB]
Hit http://ports.ubuntu.com jaunty/main Packages
Hit http://ports.ubuntu.com jaunty/restricted Packages
Hit http://ports.ubuntu.com jaunty/universe Packages
Hit http://ports.ubuntu.com jaunty/multiverse Packages
Get:5 http://ports.ubuntu.com jaunty-updates/main Packages [303kB]
Get:6 http://ports.ubuntu.com jaunty-updates/restricted Packages [527B]
Get:7 http://ports.ubuntu.com jaunty-updates/universe Packages [143kB]
Get:8 http://ports.ubuntu.com jaunty-updates/multiverse Packages [6882B]
Get:9 http://ports.ubuntu.com jaunty-security/main Packages [225kB]
Get:10 http://ports.ubuntu.com jaunty-security/restricted Packages [527B]
Get:11 http://ports.ubuntu.com jaunty-security/universe Packages [114kB]
Get:12 http://ports.ubuntu.com jaunty-security/multiverse Packages [630B]
Fetched 910kB in 5s (176kB/s)
Reading package lists... Done
root@ubuntu:~#

IT WORKS !
Logged

Pages: [1]
Print
Jump to: