User:Quozl/Fedora 20/Manual network configuration

From OLPC
< User:Quozl
Revision as of 02:15, 17 September 2014 by Quozl (talk | contribs) (Created page with 'XO-4 8787 mwifiex driver configuration without NetworkManager on Fedora 20. == Enable Kernel Debug Messages on Console == * add {{code|debug}} to kernel command line * reboot …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

XO-4 8787 mwifiex driver configuration without NetworkManager on Fedora 20.

Enable Kernel Debug Messages on Console

  • add debug to kernel command line
  • reboot

Enable Driver Debugging

echo "module mwifiex +p" > /sys/kernel/debug/dynamic_debug/control # commands
echo "module mwifiex_sdio +p" > /sys/kernel/debug/dynamic_debug/control # bus

Stop Automatic Network Configuration

systemctl stop NetworkManager.service

Manual Network Configuration

# bring the network link up
ip link set eth0 up
# sends 0x0010
# choose type of network ad-hoc
iw dev eth0 set type ibss
# sends 0x00f7
# form or join an ad-hoc network
iw dev eth0 ibss join x 2437
# sends 0x005b, 0x0028, several 0x0006 (scan), 0x002b (adhoc-start), two 0x0010
# configure ipv4 address
ip addr add 172.16.0.1/12 dev eth0
# sends 0x0010 to append to the MAC address list
ip addr delete 172.16.0.1/12  dev eth0
# sends 0x0010 to remove from the MAC address list
iw dev eth0 ibss leave
# sends 0x0040, then six 0x0028
iw dev eth0 scan > /dev/null

Disable Driver Debugging

echo "module mwifiex -p" > /sys/kernel/debug/dynamic_debug/control
echo "module mwifiex_sdio -p" > /sys/kernel/debug/dynamic_debug/control