New IT forum
26 June 2022, 04:35:50 pm *
Welcome, %1$s. Please login or register.

: MiraBox now in stock.
 
Pages: [1]

Author Topic: need help with sheevaplug  (Read 8791 times)

sheevanian

  • Newbie
  • *
  • Posts: 14
need help with sheevaplug
« on: 19 April 2013, 03:11:44 am »

hello all,

i like the sheevaplug. its really cool and fast. but i could need some help using its "apt-get" capabilities.
for testing i installed jaunty (9.04) on a netbook. apt-get works fine for installing packages on the netbook ('apt-get update' doesn't work though).
i log into the netbook AND the sheevaplug with winSCP over SSH as root (user) using a key, all is good.
i can start putty into both devices.

on the netbook: (apt-get working)
[email protected]:~# apt-get install wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
wget is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:~#


on the sheevaplug: (apt-get not working)
[email protected]:~# apt-get install wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package wget
[email protected]:~#


i have copied the /etc/apt/sources.list from the netbook to the sheevaplug
and tried lots of instructions regarding /etc/apt/sources.list...all failed.

someone please help.....im desperate....

this is my /etc/network/interfaces on the sheevaplug:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.255.255.0

auto eth0
# Commented out DHCP setting:
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.178.17
netmask 255.255.255.0
network 192.168.178.0
broadcast 192.168.178.255
gateway 192.168.178.2


i'd be really thankful for any help!!!
Logged

NewIT_Malcolm

  • Administrator
  • Jr. Member
  • *****
  • Posts: 65
Re: need help with sheevaplug
« Reply #1 on: 19 April 2013, 08:54:50 am »

Have a look here for the correct sources.list

http://www.newit.co.uk/forum/index.php/topic,3412.0.html
Logged

sheevanian

  • Newbie
  • *
  • Posts: 14
Re: need help with sheevaplug
« Reply #2 on: 19 April 2013, 02:52:57 pm »

thank you for quick answer, still i get:

[email protected]:~# apt-get update
Err http://old-releases.ubuntu.com jaunty Release.gpg
  Could not resolve 'old-releases.ubuntu.com'
Err http://old-releases.ubuntu.com jaunty-updates Release.gpg
  Could not resolve 'old-releases.ubuntu.com'
Err http://old-releases.ubuntu.com jaunty-security Release.gpg
  Could not resolve 'old-releases.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/jaunty/Release.gpg  Could not resolve 'old-releases.ubuntu.com'

W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/jaunty-updates/Release.gpg  Could not resolve 'old-releases.ubuntu.com'

W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/jaunty-security/Release.gpg  Could not resolve 'old-releases.ubuntu.com'

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
[email protected]:~#


could it be that the sheeva doesn't find the internet-gateway due to incorrect network-settings?
i am willing to donate via paypal for any help that gets me out of this trouble as that would be much cheaper than a useless sheevaplug....

thank you
Logged

NewIT_Malcolm

  • Administrator
  • Jr. Member
  • *****
  • Posts: 65
Re: need help with sheevaplug
« Reply #3 on: 19 April 2013, 03:00:58 pm »

what does ifconfig show you?

Can you ping other devices on your network or even on the internet?
Logged

sheevanian

  • Newbie
  • *
  • Posts: 14
Re: need help with sheevaplug
« Reply #4 on: 19 April 2013, 03:17:32 pm »

this is what ifconfig shows:

[email protected]:~# ifconfig
eth0      Link encap:Ethernet  HWaddr f0:ad:4e:01:2b:44
          inet addr:192.168.178.17  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:116735 errors:0 dropped:0 overruns:0 frame:0
          TX packets:124679 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:34284261 (34.2 MB)  TX bytes:31879518 (31.8 MB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:192 errors:0 dropped:0 overruns:0 frame:0
          TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16448 (16.4 KB)  TX bytes:16448 (16.4 KB)

[email protected]:~#


ping to the gateway works and shows:

[email protected]:~# ping 192.168.178.2
PING 192.168.178.2 (192.168.178.2) 56(84) bytes of data.
64 bytes from 192.168.178.2: icmp_seq=1 ttl=64 time=4.55 ms
64 bytes from 192.168.178.2: icmp_seq=2 ttl=64 time=0.442 ms
64 bytes from 192.168.178.2: icmp_seq=3 ttl=64 time=0.475 ms
64 bytes from 192.168.178.2: icmp_seq=4 ttl=64 time=0.491 ms
....
Logged

sheevanian

  • Newbie
  • *
  • Posts: 14
Re: need help with sheevaplug
« Reply #5 on: 19 April 2013, 03:19:45 pm »

when i try to ping www.google.com i get:

[email protected]:~# ping www.google.com
ping: unknown host www.google.com
[email protected]:~#
Logged

sheevanian

  • Newbie
  • *
  • Posts: 14
Re: need help with sheevaplug
« Reply #6 on: 19 April 2013, 03:40:34 pm »

this is my current /etc/network/interfaces

auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto eth0
# Commented out DHCP setting:
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.178.17
netmask 255.255.255.0
network 192.168.178.0
broadcast 192.168.178.255
gateway 192.168.178.2


ping works only to the gateway, ping to other devices on the network shows:
[email protected]:~# ping 192.168.178.12
PING 192.168.178.12 (192.168.178.12) 56(84) bytes of data.

and simply stops.

pressing ctrl +c shows:
[email protected]:~# ping 192.168.178.12

--- 192.168.178.12 ping statistics ---
24 packets transmitted, 0 received, 100% packet loss, time 23005ms

[email protected]:~#


Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: need help with sheevaplug
« Reply #7 on: 19 April 2013, 06:55:38 pm »

Quote
Could not resolve 'old-releases.ubuntu.com

Quote
ping www.google.com
ping: unknown host www.google.com

These two are examples of DNS issues, the sheevaplug is failing to resolve hostnames.
What is configured in /etc/resolv.conf ?
Some other network connectivity error may also be the cause.

Quote
--- 192.168.178.12 ping statistics ---
24 packets transmitted, 0 received, 100% packet loss, time 23005ms
This is puzzling (unless 192.168.178.12 is protected by a firewall ?)

What is 192.168.178.2 ?
If it is a broadband router with a standard configuration (running DHCP & DNSMASQ daemons) then try replacing your sheevaplug static configuration with dhcp.

Code: [Select]
allow-hotplug eth0
iface eth0 inet dhcp



« Last Edit: 19 April 2013, 07:08:48 pm by Confusticated »
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

sheevanian

  • Newbie
  • *
  • Posts: 14
Re: need help with sheevaplug
« Reply #8 on: 19 April 2013, 08:29:10 pm »

YEAH b*tch! found help here: http://www.linuxforums.org/forum/suse-linux/184164-ping-unknown-host-cant-resolve-any-dns-addresses.html

in /etc/resolv.conf i changed the nameserver from 127.0.0.1 to my gateways ip 192.168.178.2

now i can update and install pkgs with apt-get

thank you for your help anyway

the sheevaplug ROCKS!
Logged

sheevanian

  • Newbie
  • *
  • Posts: 14
Re: need help with sheevaplug
« Reply #9 on: 19 April 2013, 09:10:16 pm »

thank you Confusticated,

What is 192.168.178.2 ? it's a fritzbox, my homenets gateway to the internet

192.168.178.12 is a windows xp pc (with a webserver and ssh-server running under cygwin) in my homenetwork

nothing in my homenetwork is free to be reached from outside, all is firewalled by the fritzbox (except maybe some windows-pcs running emule)

while i can use apt-get on the sheevaplug now (install and update and ping google), i can't ping no computer inside my homenetwork with the sheevaplug.

this is my resolv.conf:
domain fritz.box
search fritz.box
nameserver 192.168.178.2


anyway im very glad apt-get works on the sheevaplug now, that homenetwork-ping-problem doesn't matter that much (yet)

thank you for helping
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!