2014-12-14, 08:11
(2014-12-11, 14:13)johnro Wrote: hi guys
i have a cyclone android x2 box. i managed and put gotham 13.2 on it.
the problem i have is that i have to modify the gateway and DNS address on my wi-fi connection and i don't know how.
the router(access point) i am connecting to is not the main router and i just can't get online
also, is the LAN not working. is not connecting or getting any IP.
do i need to load more add-ons to get it configured?
i'm just learning XBMC on these boxes so don't know much about it. i looked online for about 2 weeks now with no luck on how to configure the IP's
and a major question now: can i revert back to android? the reset and power cable is not working anymore. i tried it tens of times with no luck
thanks for all your help guys
See my other post for manually configuring IP address and gateway.
For manually setting DNS in xbmc:
SSH in and run
PHP Code:
vi /etc/resolv.conf
PHP Code:
:q
Now, the fun part. In "S40network" add the command to assign the DNS by
PHP Code:
vi /etc/init.d/S40network
PHP Code:
echo "nameserver 8.8.8.8" > /etc/resolv.conf
should look something like this
PHP Code:
#!/bin/sh
#
# Start the network....
#
case "$1" in
start)
echo "Starting network..."
echo "nameserver 8.8.8.8" > /etc/resolv.conf
/sbin/ifup -a
;;
stop)
echo -n "Stopping network..."
/sbin/ifdown -a
;;
restart|reload)
"$0" stop
"$0" start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
PHP Code:
:wq
Time to reboot after a sync:
PHP Code:
sync
PHP Code:
reboot
This worked for me, hope it does for anyone that needs it. If that didn't make any sense let me know. I can upload a quick video.
(2014-12-12, 02:59)xbmcdoc Wrote:(2014-12-11, 21:16)johnro Wrote: how do i manually configure the IP guys? i managed to log in as root with putty but i don't know linux (((
thanks for your time
This linux is a bit more restricted than full kernel linux build and missing code to be able to adjust the variables within XBMC. Additionally, The DCHP bug relates to the DCHP Resolver script either not working or not present. I think the bug was report in the first few pages of this thread. I can't remember is someone figured out a work around. Back before XBMC Frodo we used to add a interface script. See below, hopefully it will work (SSH in).
HOW-TO:Keep static IP
This is quite easy:
vi /etc/network/interfaces (After you "sudo su")
Add your IP INFO as per your configuration:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.0.0.10
netmask 255.255.255.0
gateway 10.0.0.1
NOTE
You can check your INTERFACE with "ifconfig". Mine is eth0 in this example.
SOURCE: http://kodi.wiki/view/HOW-TO:Keep_static_IP
I confirmed this works to set IP address.