[Android Apps and Games] exsofree:
SambaDroid 1.0.2

Hello. My config:

HUAWEI U8800 pro. Android 4.0.4.

SambaDroid 1.0.2.

I try to connect to SambaDroid via USB modem connection.

If I use default config with strings:

/data/data/berserker.android.apps.sambadroid/samba/lib/smb.conf

interfaces = eth0
bind interfaces only = yes

GUI is "hanging" then starting.

It's happen, because no IP address on eth0 interface. My config:

busybox ifconfig

eth0 Link encap:Ethernet HWaddr 10:C6:1F:1A:56:19
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:81997 errors:0 dropped:2993 overruns:0 frame:0
TX packets:51474 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:91448731 (87.2 MiB) TX bytes:5156287 (4.9 MiB)

...
rndis0 Link encap:Ethernet HWaddr 6E:B9:67:2D:36:88
inet addr:192.168.42.129 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::6cb9:67ff:fe2d:3688/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:115449 errors:0 dropped:3 overruns:0 frame:0
TX packets:74192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73061168 (69.6 MiB) TX bytes:34006210 (32.4 MiB)

I use ssh. I ran:

/data/data/berserker.android.apps.sambadroid/samba/nmbd -i -d 2

nmbd version 3.6.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
rlimit_max: increasing rlimit_max (2048) to minimum Windows limit (16384)
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
rlimit_max: increasing rlimit_max (2048) to minimum Windows limit (16384)
standard input is not a socket, assuming -D option
interpret_interface: Can't find address for eth0
WARNING: no network interfaces found
create_subnets: No local IPv4 non-loopback interfaces !
create_subnets: Waiting for an interface to appear ...
interpret_interface: Can't find address for eth0
WARNING: no network interfaces found
interpret_interface: Can't find address for eth0
WARNING: no network interfaces found
interpret_interface: Can't find address for eth0
WARNING: no network interfaces found
interpret_interface: Can't find address for eth0
WARNING: no network interfaces found
^C

If I comment

#interfaces = eth0
#bind interfaces only = yes

and then it start correct:

/data/data/berserker.android.apps.sambadroid/samba/nmbd -i -d 2

nmbd version 3.6.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
rlimit_max: increasing rlimit_max (2048) to minimum Windows limit (16384)
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
rlimit_max: increasing rlimit_max (2048) to minimum Windows limit (16384)
standard input is not a socket, assuming -D option
added interface rndis0 ip=192.168.42.129 bcast=192.168.42.255 netmask=255.255.255.0
making subnet name:192.168.42.129 Broadcast address:192.168.42.255 Subnet mask:255.255.255.0
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
send_election_dgram: Sending election packet for workgroup HOME on subnet 192.168.42.129

I start smbd:

/data/data/berserker.android.apps.sambadroid/samba/smbd -i -d 1000.

It starts without error and output stops at string:

"waiting for connections". Web link:

pastebin.com/2AMukgpV

pastebin.com/umQTtd8V

Then I connect to SambaDroid via Windows XP SP3 - \\192.168.42.129.

SambaDroid is exit abnormally: PANIC, internal error. Web link:

pastebin.com/zxT87pnF