Reply
Thread Tools
Posts: 47 | Thanked: 30 times | Joined on Jul 2010 @ BANGALORE
#1
Installed Maemo SDK Virtual Image ., every thing works fine expect the internet connectivity in maemo 5 under Xephyr

configured as follow:

configured network adapter as Nat under virtual machine and ubuntu host is preconfigured with two network connections

ifupdown(bnep0)
ifupdown(usb0)

gets internet connectivity under ubuntu if ifupdown(bnep0) is made active and it doesn't works with the other way around

Output of these two commands:

Code:
cat /etc/resolv.conf
ifconfig
maemo@maemo-desktop:~$ ifconfig
eth6 Link encap:Ethernet HWaddr 00:0c:29:03:ce:4d
inet addr:192.168.194.135 Bcast:192.168.194.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe03:ce4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:187 errors:0 dropped:0 overruns:0 frame:0
TX packets:434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37396 (37.3 KB) TX bytes:48152 (48.1 KB)
Interrupt:18 Base address:0x1424

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

maemo@maemo-desktop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain localdomain
search localdomain
nameserver 192.168.194.2

Tried these commands:

Code:
sudo /scratchbox/sbin/sbox_ctl restart

cp /etc/resolv.conf /scratchbox/etc/resolv.conf
hope some configuration needed in scratchbox,
For some reason, Maemo doesn't properly set up networking, so help me to manually configure networking in scratchbox,

so i could test the various applications in it before installing it to the actual device

Last edited by aathava; 2010-07-13 at 13:06.
 

The Following 2 Users Say Thank You to aathava For This Useful Post:
Posts: 10 | Thanked: 4 times | Joined on Apr 2010
#2
Originally Posted by aathava View Post
Code:
sudo /scratchbox/sbin/sbox_ctl restart

cp /etc/resolv.conf /scratchbox/etc/resolv.conf
Hi aathava,

please ensure that you copy the /etc/resolv.conf as root (sudo) as well.
Your actual command does not overwrite /scratchbox/etc/resolv.conf

Code:
sudo cp /etc/resolv.conf /scratchbox/etc/resolv.conf
Afterwards Internet access from inside scratchbox was working for me.
 

The Following 3 Users Say Thank You to ek-zwo For This Useful Post:
sampppa's Avatar
Posts: 166 | Thanked: 191 times | Joined on Dec 2007 @ Oulu, Finland
#3
Hello

If you are using the latest vm ware image notice that it is a known issue in the image that it doesn't have eth0 interface by default.
Read more on this thread: http://talk.maemo.org/showthread.php...=vmware&page=2 from the post #17 forward.
 
Posts: 47 | Thanked: 30 times | Joined on Jul 2010 @ BANGALORE
#4
wow! its working now .,
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:28.