ODROID C1 Manual Download Page 6

Last
update:
2019/03/05
10:03

accessory:connectivity:wifi:wireless_ap_mode https://wiki.odroid.com/accessory/connectivity/wifi/wireless_ap_mode?rev=1551747785

https://wiki.odroid.com/

Printed on 2023/05/21 14:24

Building dependency tree
Reading state information... Done

0

 upgraded, 

0

 newly installed, 

1

 reinstalled, 

0

 to remove and 

0

 not

upgraded.
Need to get 

16.2

 kB of archives.

After this operation, 

0

 B of additional disk space will be used.

Get:

1

 http:

//

ports.ubuntu.com

/

ubuntu-ports bionic

/

universe armhf

dnsmasq all 

2.79

-

1

 

[

16.2

 kB

]

Fetched 

16.2

 kB 

in

 1s 

(

16.6

 kB

/

s

)

(

Reading database ... 

155718

 files and directories currently

installed.

)

Preparing to unpack ...

/

dnsmasq_2.79-

1

_all.deb ...

Unpacking dnsmasq 

(

2.79

-

1

)

 over 

(

2.79

-

1

)

 ...

Setting up dnsmasq 

(

2.79

-

1

)

 ...

Processing triggers 

for

 systemd 

(

237

-3ubuntu10.9

)

 ...

If you faced “FAILED” message when starting up the dnsmasq.service like the
below “port 53: Address already in use”,

target

invoke-rc.d: initscript dnsmasq, action 

"start"

 failed.

● dnsmasq.service - dnsmasq - A lightweight DHCP and
caching DNS server
   Loaded: loaded 

(/

lib

/

systemd

/

system

/

dnsmasq.service;

enabled; vendor preset: enabled

)

   Active: failed 

(

Result: exit-code

)

 since Mon

2018

-

12

-

10

 01:

59

:06 UTC; 22ms ago

  Process: 

2073

 

ExecStart

=

/

etc

/

init.d

/

dnsmasq systemd-

exec 

(

code

=exited, 

status

=

2

)

  Process: 

2072

 

ExecStartPre

=

/

usr

/

sbin

/

dnsmasq 

--test

(

code

=exited, 

status

=

0

/

SUCCESS

)

 
Dec 

10

 01:

59

:06 odroid systemd

[

1

]

: Starting dnsmasq - A

lightweight DHCP and caching DNS server...
Dec 

10

 01:

59

:06 odroid dnsmasq

[

2072

]

: dnsmasq: syntax

check OK.
Dec 

10

 01:

59

:06 odroid dnsmasq

[

2073

]

: dnsmasq: failed to

create listening socket 

for

 port 

53

: Address already 

in

use
Dec 

10

 01:

59

:06 odroid dnsmasq

[

2073

]

: failed to create

listening socket 

for

 port 

53

: Address already 

in

 use

Dec 

10

 01:

59

:06 odroid dnsmasq

[

2073

]

: FAILED to start up

Dec 

10

 01:

59

:06 odroid systemd

[

1

]

: dnsmasq.service:

Control process exited, 

code

=exited 

status

=

2

Dec 

10

 01:

59

:06 odroid systemd

[

1

]

: dnsmasq.service:

Failed with result 

'exit-code'

.

Summary of Contents for C1

Page 1: ...rm con rm 5A Realtak RTL8811AU 0x0BDA 0xa811 con rm con rm con rm con rm not working con rm con rm con rm wpa_supplicant Mode Compatibility List Wi module name USB VID PID ODROID C1 ODROID C2 ODROID X...

Page 2: ...mesh point Refer to the below contents of informations of each wireless interface Wi Module 0 Manufacturer Mediatek Ralink Part name RT5370N Type chip Number of busses 1 Bus es USB 2 0 Number of band...

Page 3: ...Device 006 ID 148f 5572 Ralink Technology Corp RT5572 Wireless Adapter Wi Module 5 Manufacturer Realtek Type chip Number of busses 2 Bus es USB 2 0 USB 3 0 Number of bands 2 Band s 2 4GHz 5GHz Data ra...

Page 4: ...g vim build essential to work with Con gure wireless network interface and dnsmasq daemon Con gure access point can be divided into the following tasks Setup network interface con guration Setup DHCP...

Page 5: ...TX bytes 0 0 0 B Add net ifnames 0 as kernel parameter to kernel command line by editing the boot ini The local interface name issue gets resolved to have predictable name for wireless interface targ...

Page 6: ...53 Address already in use target invoke rc d initscript dnsmasq action start failed dnsmasq service dnsmasq A lightweight DHCP and caching DNS server Loaded loaded lib systemd system dnsmasq service...

Page 7: ...the 53 port disable stop the systemd resolved service root odroid systemctl disable systemd resolved service Removed etc systemd system multi user target wants systemd resolved service Removed etc sys...

Page 8: ...server 8 8 4 4 local example com address doubleclick net 127 0 0 1 no hosts addn hosts etc dnsmasq d hosts conf expand hosts domain example com dhcp range 192 168 1 20 192 168 1 50 72h dhcp range tft...

Page 9: ...udo iptables A FORWARD i wlan0 o eth0 j ACCEPT Note Update the iptables rules depending on your wireless network interface Reboot the system to get work target root odroid reboot Step 4 Access Point I...

Page 10: ...patch le if you use Wi Module 3 to make hostapd works for Wi Module 3 which do not support the standard nl80211 driver from hostapd on kernel 3 10 3 14 3 16 target root odroid git clone https github c...

Page 11: ...AEMON_OPTS B Note You can update this DAEMON_OPTS to get the logs from hostapd daemon Edit etc hostapd hostapd conf le target root odroid vi etc hostapd hostapd conf If you have trouble with this sett...

Page 12: ...out_level 2 CTRL Interface ctrl_interface var run hostapd ctrl_interface_group 0 WLAN country_code KR ssid OdroidAPn hw_mode g channel 6 beacon_int 100 dtim_period 2 max_num_sta 255 rts_threshold 2347...

Page 13: ...Odroid5Ghz hw_mode a channel 36 max_num_sta 128 auth_algs 1 DFS country_code KR ieee80211d 1 ieee80211h 1 ieee80211ac 1 IEEE 802 11n ieee80211n 1 ht_capab HT40 SHORT GI 20 SHORT GI 40 DSSS_CCK 20 IEE...

Page 14: ...op_limit 47 wmm_ac_vo_acm 0 TX queue parameters tx_queue_data3_aifs 7 tx_queue_data3_cwmin 15 tx_queue_data3_cwmax 1023 tx_queue_data3_burst 0 tx_queue_data2_aifs 3 tx_queue_data2_cwmin 15 tx_queue_da...

Page 15: ...192 168 1 255 ether 40 a5 ef f3 98 6a txqueuelen 1000 Ethernet RX packets 122 bytes 13344 13 3 KB RX errors 0 dropped 1 overruns 0 frame 0 TX packets 49 bytes 18722 18 7 KB TX errors 0 dropped 473 ove...

Page 16: ...arting LSB Advanced IEEE 802 11 management daemon Jul 09 19 48 41 odroid hostapd 789 Starting advanced IEEE 802 11 management hostapd Jul 09 19 48 41 odroid hostapd 789 done Jul 09 19 48 41 odroid sys...

Page 17: ...lightweight DHCP and caching DNS server lines 1 22 22 END Step 4 Access Point Installation wpa_supplicant Step 4 1 Setup wpa_supplicant con guration wpa_supplicant is a user space application which wo...

Page 18: ...target root odroid wpa_supplicant 2 6 wpa_supplicant mv sbin wpa_supplicant sbin wpa_supplicant org root odroid wpa_supplicant 2 6 wpa_supplicant cp wpa_supplicant sbin Verify that you have installed...

Page 19: ...0 dropped 16 overruns 0 carrier 0 collisions 0 This is an example of starting wpa_supplicant as Access Point target root odroid wpa_supplicant Dnl80211 iwlan0 c wpa conf Successfully initialized wpa_...

Page 20: ...odroid com accessory connectivity wi wireless_ap_mode rev 1551747785 https wiki odroid com Printed on 2023 05 21 14 24 From https wiki odroid com ODROID Wiki Permanent link https wiki odroid com acce...

Reviews: