I'll show you the output of ifconfig.
Code: Select all
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:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1331 (1.2 KiB) TX bytes:1331 (1.2 KiB)
wlan0 Link encap:Ethernet HWaddr 30:17:c8:be:5c:af
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::3217:c8ff:febe:5caf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47950 errors:0 dropped:0 overruns:0 frame:0
TX packets:27540 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:27053868 (25.8 MiB) TX bytes:5472117 (5.2 MiB)
Started eggdrop with -n (this does normally work, with -n and without, -n just for debugging) and set my-ip to 127.0.0.1.
Code: Select all
[20:26] main: entering loop
[20:26] Trying server irc.quakenet.org:6667
[20:26] Failed connect to irc.quakenet.org (Invalid argument)
[20:26] net: connect! sock 11
[20:26] net: eof!(read) socket 11
[20:26] (@) EOF socket 11, not a dcc socket, not anything.
As I expected, set my-ip 127.0.0.1 does not work at all.
set my-ip 192.168.2.100 does work but then it's WiFi with GPRS as fallback, not like I wanted.
My worry is, that the underlying Android system (which is also based on linux) does decide which connection will be used. The rmnet0 adapter, I can only see in ifconfig, if WiFi is disabled.
Any idea?