maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   Static IP address (https://talk.maemo.org/showthread.php?t=2007)

arnsic 2006-05-19 08:40

Static IP address
 
Hi,

I have a small network at home with static IPs. However, I have not found out how to assign my 770 a static IP. I have tried

ifconfig wlan0 192.168.2.4 netmask 255.255.255.0 up

but I could not connect although the IP was assigned to wlan0. Has anyone an idea?

Thanks in advance!

aflegg 2006-05-19 08:51

In the connection manager, edit the connection and click the "Advanced" button at the end of the wizard. You can specify a static IP there.

HTH,

Andrew

fanoush 2006-05-19 11:15

Also most WLAN routers can run DHCP. I too have very small network (5 machines including n770 and router) and have DHCP with static binding to MAC address since it is easier on the clients. When dualbooting various systems on same machine I don't need to configure IP addresses in each OS. And since you need to enter MAC addresses on the router for proper wi-fi security anyway, it comes as nice bonus and makes life easier.

arnsic 2006-05-21 17:31

Hi again,

first, thanks for the help! I have assigned a static IP with aflegg's instructions and canbring the network device online (status icon shows a "W" and ifconfig lists the device with 192.168.2.4). However I cannot make any connection with the 770. Calling any website says "network error" and with "ping 192.168.2.1" (for instance) I get the error message: "network cannot be reached" The AP works otherwise fine (I can connect with my notebook) and I have already connected to the Internet with my 770 from a public WLAN Hotspot.

Any ideas?

ioan 2006-05-21 18:04

make sure you have the gateway, subnet mask, dns server (gateway and dns I suppose will be the router's ip) correct... make sure you have the key, encription, channel... right... is hard for us (me) to tell you what you are doing wrong if I don't see the whole configuration.
-ioan

aflegg 2006-05-21 18:56

I agree with ioan, it's difficult to know more without more detail. My number 1 guess, however, would be that the gateway's wrong.

arnsic 2006-05-21 20:47

gateway, subnet mask, dns server are correct. Besides, even with wrong DNS Server and Gateway, I should be able to ping the AP ... wrong channel could be the reason. How do I check and change the channel?

pstorralba 2006-05-21 21:42

Quote:

Originally Posted by arnsic
How do I check and change the channel?

You can install WirelessTools from ApplicationCatalog and run iwconfig:
Code:

LD_PRELOAD=/var/lib/install/usr/lib/libiw.so /var/lib/install/usr/sbin/iwconfig
You can also use this tool to set the channel and all the other stuff for the wireless connection.

arnsic 2006-05-22 09:23

No, it's not the channel ... 03 is correct ... I have to find it out myself, I guess ...


All times are GMT. The time now is 19:09.

vBulletin® Version 3.8.8