Connel Hooley <email address hidden> writes:
> Yeah sorry that was my fault. I just entered the wrong apn. I'm not > familiar with ip or ifconfig so wasn't able to actually use the > connection lol but it does appear to be working.
Excellent that you got it working!
> Settings = { Interface=gprs0 Netmask=255.255.255.255 Method=static DomainNameServers=82.132.254.2,82.132.254.3, Address=10.115.4.111 }
You can do something like this:
sudo ip addr add 10.115.4.111/32 dev gprs0 sudo ip route default via dev gprs0 sudo sh -c "echo nameserver 82.132.254.2 > /etc/resolv.conf"
Warning: completely untested! Be careful with the commands above. And please note that IP settings most likely change during every gprs connection.
ip command is from package iproute. Alternatively you can use ifconfig.
-- Kalle Valo
Connel Hooley <email address hidden> writes:
> Yeah sorry that was my fault. I just entered the wrong apn. I'm not
> familiar with ip or ifconfig so wasn't able to actually use the
> connection lol but it does appear to be working.
Excellent that you got it working!
> Settings = { Interface=gprs0 Netmask= 255.255. 255.255 Method=static DomainNameServe rs=82.132. 254.2,82. 132.254. 3, Address= 10.115. 4.111 }
You can do something like this:
sudo ip addr add 10.115.4.111/32 dev gprs0
sudo ip route default via dev gprs0
sudo sh -c "echo nameserver 82.132.254.2 > /etc/resolv.conf"
Warning: completely untested! Be careful with the commands above. And
please note that IP settings most likely change during every gprs
connection.
ip command is from package iproute. Alternatively you can use ifconfig.
--
Kalle Valo