[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community :: View topic - Need advice on connecting with Carambola
8devices Community
https://www.8devices.com/community/

Need advice on connecting with Carambola
https://www.8devices.com/community/viewtopic.php?f=1&t=106
Page 1 of 2

Author:  auxtony78 [ 22 May 2012, 21:39 ]
Post subject:  Need advice on connecting with Carambola

Hello!

I need an advice on connecting with Carambola.
My problem is that I've successfully made my wifi working (thanks to the excellent wiki btw) on the board and now I've got endless log of wifi like this:
.......................
385.440000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 385.450000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[ 388.530000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[ 388.540000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 388.550000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[ 388.560000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[ 390.72000
......................
and I can't get my prompt! It's really disturbing. How do you guys are dealing with this ?
Also, I've tried "wifi stop" but it doesn't work.
I'm connected via an FTDI like in the wiki.
How do you SSH on the board to get rid of the FTDI ?

Also on the wiki, on the part "change_parameters_before_compile", you give a path to /etc/config/network and /etc/config/wireless.
Well, I have to say that in this path there no such files !!!

Thanks you for your answers. and please keep up the hard work and keep update the excellent wiki !

Anthony

Author:  NaYthan [ 23 May 2012, 07:54 ]
Post subject:  Re: Need advice on connecting with Carambola

Is your WiFi working correctly? Try ifconfig on the console, you should see the IP address assigned to the WiFi device (wlan0 in my case). If there's no IP then your WiFi credentials might be wrong. You should try iwconfig as well, it'll show the SSID of the AP the carambola is connected to.
Also I couldn't connect to my WiFi network with the pre-flashed image, did you already build and flash your own image for the carambola?

After you've solved your network issues (if there are any) you'll have to set a root password if you want to login over SSH. Just type passwd on the command prompt and it'll ask you for a new password twice (the second time to verify your input), the characters you type will not be displayed for security reasons, so don't be alarmed if you don't see what you're typing in.

After that you should be able to login over WiFi/SSH.

I've also noticed, that those config files are missing in the root_fs source dir. More than that, if you create them and recompile they'll be ignored/deleted. I suppose there are some changes that need to be made to the build configuration for this to work.

EDIT: Depending on how you configured your WiFi in /etc/config/network you'll also have to edit /etc/config/firewall to allow for access through wifi.

Author:  auxtony78 [ 23 May 2012, 08:11 ]
Post subject:  Re: Need advice on connecting with Carambola

Thanks NaYthan for your answer.
Oh thanks for asking: yeah I built a new image and successfully dowloaded in it. (I needed video and USB support)

i've got this with ifconfig:

wlan0 Link encap:Ethernet HWaddr C4:93:00:11:00:40
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:678 (678.0 B) TX bytes:942 (942.0 B)


it seems working.... the number of RX and TX bytes are increasing.

with iwconfig i see that im connected to the right ESSID (hidden here):

wlan0 IEEE 802.11bgn ESSID:"*************"
Mode:Managed Frequency:2.447 GHz Access Point: 00:24:D4:DC:01:**
Bit Rate=6.5 Mb/s Tx-Power=0 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-39 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Now I can't find any Ip addresses... ?

Thanks very much for the SSH tips !

I did not edit /etc/config/firewall... is there somethig to do here ?

EDIT: I keep on having the Wifi log over and over... and it's hard to command line with that!

Author:  NaYthan [ 23 May 2012, 08:36 ]
Post subject:  Re: Need advice on connecting with Carambola


Author:  auxtony78 [ 23 May 2012, 09:07 ]
Post subject:  Re: Need advice on connecting with Carambola

Thanks NaYthan, I think you made a good point on the IP addresse.
My AP is just my internet box (my router) and when I log in it and check who is connected to by DHCP, I can see all my devices (laptop, ...) but no sign of a something with the MAC address of my carambola.

I'll investigate that and get back to you!

Thanks again!

Author:  auxtony78 [ 23 May 2012, 09:57 ]
Post subject:  Re: Need advice on connecting with Carambola


Author:  NaYthan [ 23 May 2012, 10:00 ]
Post subject:  Re: Need advice on connecting with Carambola

Well, if your network interfaces reside in the same IP Address space it could cause problems with your routing, but unlikely to cause problems connecting with the WiFi router in the first place.
Let me grab my Carambola config for you...

Author:  NaYthan [ 23 May 2012, 10:47 ]
Post subject:  Re: Need advice on connecting with Carambola


Author:  auxtony78 [ 23 May 2012, 14:30 ]
Post subject:  Re: Need advice on connecting with Carambola

Cheers ! but sadly it doesn't work better.... :(
i'm going to open up a new thread on this problem.

the only difference now, is that i'm on PSK and you are on WEP. But in the wiki they are also on PSK, so it should'nt be that.

Thanks again for your great effort.
I hope a 8devices guy is gong to pass by my other thread !!!

Author:  auxtony78 [ 24 May 2012, 12:03 ]
Post subject:  Re: Need advice on connecting with Carambola

And it bloody works in WEP 128bit...... -_-'
I can't let my network in WEP though.
Crackable in 10min, no thanks, no.

I better find a way to make it work in PSK or PSK2.
I hope this board isn't a joke.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/