sbecue Posted May 25, 2015 Posted May 25, 2015 Hi, thank for your work i need to make a hotspot with cubietruck I test all debian images for cubietruck but impossible Configuration - connexion VGA - ethernet connected - microsdcard 16G sandisk ou 32 g - clavier with doogle usb all image is dowload today ** Cubietruck_Debian_3.7_jessie_4.0.3 last message Welcom to Debian GNU/Linux 8 (jessie)! [TIME] Timed ou waiting for device dev-ttyS0.device. [DEPEND] Dependency failed for serial Getty on ttyS0. ** Cubietruck_Debian_3.7_jessie_3.4.107.raw Cannot Display This video mode ** Cubietruck_Debian_3.7_wheezy_3.4.107.raw Cannot Display This video mode ** Cubietruck_Debian_3.7_wheezy_4.0.3.raw ... failed to bring up eth0 ... [OK] Restarting OpenBSD Secure Shell Server : sshd 15 minutes rient tentative de connexion a ssh KO ** Cubietruck_Debian_3.8_jessie_3.4.107.raw Cannot Display This video mode ** Cubietruck_Debian_3.8_jessie_4.0.4.raw Welcom to Debian GNU/Linux 8 (jessie)! [TIME] Timed ou waiting for device dev-ttyS0.device. [DEPEND] Dependency failed for serial Getty on ttyS0. ** Cubietruck_Debian_3.8_wheezy_3.4.107.raw Cannot Display This video mode ** Cubietruck_Debian_3.8_wheezy_4.0.4.raw ... failed to bring up eth0 ... [OK] Restarting OpenBSD Secure Shell Server : sshd 15 minutes rient tentative de connexion a ssh KO ** Cubietruck_Debian_3.6_jessie_3.4.107.raw : old image , not download today boot: OK update : OK but wifi en mode hotspot don't work if I write in /etc/modules file bcmdhd : I can't see my SSID with my wifi device or bcmdhd op_mode=2 : dont load the module If the bcmdhd module is not load and I execute the commande "modprobe bcmdhd op_mode=2" and start hostapd, I can see my ssid with my wifi device ** Cubietruck_Ubuntu_3.8_trusty_4.0.4.raw [3.628018] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code ~3 minutes ... ... ssh start/running, process961 wait and nothing Have you a solution for me please ? I'm sorry my english is bad, My Linux is better, but not excelent!!!
sbecue Posted May 25, 2015 Author Posted May 25, 2015 when the message is : Cannot Display This video mode connect with ssh edit /boot/boot.cmd change resolution in ligne : setenv bootargs console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1024x768p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 execute mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr reboot an is OK. If not ok, move the resolution : 1024x768p60 by less
Igor Posted May 25, 2015 Posted May 25, 2015 OK, some quick tips:v3.7 jessie image is broken due to some systemd changes. I saw too late. 3.8 is boots ok - at least with network attached. I haven't tested without for a while. On new kernel there is no output to serial console by default. loading with bcmdhd op_mode=2 works with wheezy and trusty but not jessie 4.0.4 different module brcmfmac. It should work ... I haven't tested with 4.0.4 but with 3.19.x and it was working w/o problems. If you want a proven configuration, stick to Wheezy with kernel 3.4.x Video resolution. I'll go down with default one or made some other solution. Waiting for 3min might not be enough. I am doing apt-get update at first boot.
sbecue Posted May 25, 2015 Author Posted May 25, 2015 OK thank you I tested with Cubietruck_Debian_3.8_wheezy_3.4.107.raw with ssh connection , I moved resolution and execute mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr upgraded system network config ip_forwarding install dhcp-serveur I see my ssid since my wifi client But not connetced, i think is not hard , i find it. Thank-you for your help I find my problem and I write a article for hel in french see you and thank's
Igor Posted May 26, 2015 Posted May 26, 2015 My default example configuration is meant to work with /etc/network/interfaces.hostap where wlan0 and eth0 are connected to a bridge so wlan0 AP clients are geting a dhcp from the main network - from your router.
sbecue Posted May 26, 2015 Author Posted May 26, 2015 Ok it's work yesterday night my hostapd.conf needed bridge=br0 instruction I don't saw you configuration exmple in /etc/. I saw in /etc/hostapd, is empty Thank you for your work and your help Sébastien
Igor Posted May 26, 2015 Posted May 26, 2015 more /etc/hostapd.conf ssid=cubietruck interface=wlan0 hw_mode=g channel=5 driver=nl80211 bridge=br0 logger_syslog=0 logger_syslog_level=0 wmm_enabled=1 ieee80211n=1 wpa=2 preamble=1 wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27 wpa_passphrase=12345678 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP auth_algs=1 macaddr_acl=0 noscan=1 #ht_capab=[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40] #country_code=SI #ieee80211d=1 Configuration for realtek: more /etc/hostapd.conf-rt interface=wlan0 ctrl_interface=/var/run/hostapd ssid=orangepi channel=5 noscan=1 wpa=2 wpa_passphrase=12345678 bridge=br0 wmm_enabled=1 driver=rtl871xdrv beacon_int=100 hw_mode=g ieee80211n=1 wme_enabled=1 ht_capab=[SHORT-GI-40][HT40+][HT40-][DSSS_CCK-40] wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP max_num_sta=8 wpa_group_rekey=86400
Recommended Posts