SliTaz SliTaz Forum

You are not logged in.

#1 2013-04-19 00:37:47

mt12345
Member
Registered: 2013-03-25
Posts: 84

Connect SliTaz wifi to ad-hoc network

I set up Nokia 500 as hotspot using Joikuspot application.

I couldnt get connected.

When I connect from debian, connection is shown as 'ad-hoc'

so I changed 'managed' to 'ad-hoc' in slitaz network.conf.

Now I am 'connected' - the network icon is in connected state but I get no IP.

Offline

#2 2013-04-21 10:41:54

mt12345
Member
Registered: 2013-03-25
Posts: 84

Re: Connect SliTaz wifi to ad-hoc network

no one using symbian here? oh, I see, everybody has android phone because it's linux.

Offline

#3 2013-04-24 13:06:02

mt12345
Member
Registered: 2013-03-25
Posts: 84

Re: Connect SliTaz wifi to ad-hoc network

does slitaz NOT support ad-hoc connections?

would porting  network manager from gnome solve the problem?

Offline

#4 2013-04-25 06:54:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Connect SliTaz wifi to ad-hoc network

ad-hoc with no security

Substitute wlan0 for your wireless adapter name.

Open terminal,su, password: root

Before you shut down the adapter with slitaz network.sh script run a scan:

[c]# iwlist wlan0 scan[/c] <= you should see the Cell broadcast from the phone with ESSID:<phone essid> and Mode:Ad-Hoc

[c]# /etc/init.d/network.sh stop[/c]

[c]# iwconfig wlan0 mode Ad-Hoc[/c]

[c]# iwconfig wlan0 essid <phone essid> key off[/c]

[c]# iwconfig wlan0 txpower on[/c]

[c]# ifconfig wlan0 wlan0 up[/c]

[c]# udhcpc -b -i wlan0[/c]  <= To get ip,gateway,dns address from phones dhcp server.

To use ad-hoc in normal peer-to-peer without a dhcp server/internet connection sharing on one of the peers you assign each computer a different ip in the same subnet.

[c]# ifconfig wlan0 169.254.242.36 netmask 255.255.0.0 up[/c] <= computer a

[c]# ifconfig wlan0 169.254.242.37 netmask 255.255.0.0 up[/c] <= computer b

Online

#5 2013-05-07 12:38:05

mt12345
Member
Registered: 2013-03-25
Posts: 84

Re: Connect SliTaz wifi to ad-hoc network

ok, it works, thanks!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]