maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   ipconfig /release /renew equivalents? (https://talk.maemo.org/showthread.php?t=18131)

Redshift 2008-03-20 16:59

ipconfig /release /renew equivalents?
 
Hi,

I've searched but couldn't find anything... What are the equivalents to ipconfig /release /renew for the N810?

Thanks!

Edit: Ahh found it, ifconfig.

Capn_Fish 2008-03-20 17:00

Re: ipconfig /release /renew equivalents?
 
ifconfig/iwconfig are the equivalents to ipconfig. Sorry, I don't know about release/renew. Probably dhclient or dhcpcd (which one is on the IT, I don't know. Mine isn't here yet :( )

qwerty12 2008-03-20 17:04

Re: ipconfig /release /renew equivalents?
 
iwconfig is here http://www.nitapps.com/

Redshift 2008-03-20 17:57

Re: ipconfig /release /renew equivalents?
 
Well, I figured out that iwconfig is accessible in x-term via /sbin/iwconfig and that I have to be root to do:

/sbin/iwconfig wlan0 down
/sbin/iwconfig wlan0 up

But after I did this it seems the connection wouldn't work?

Capn_Fish 2008-03-20 18:01

Re: ipconfig /release /renew equivalents?
 
You need to specify the SSID and stuff:

Code:

iwconfig INTERFACE mode managed essid SSID power 1 key WEPKEY
That assumes you're using WEP. For WPA, you need to use wpa_supplicant. Either way, you probably need to add

Code:

dhclient INTERFACE
or
Code:

dhcpcd INTERFACE
HTH

Redshift 2008-03-20 18:11

Re: ipconfig /release /renew equivalents?
 
Yes, that does. Thanks!


All times are GMT. The time now is 10:55.

vBulletin® Version 3.8.8