Code Monkey home page Code Monkey logo

wsupp-libc's People

Contributors

arsv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

qkyom

wsupp-libc's Issues

sometimes no reconnect

after a while of being connected, sometimes wsupp stops working, while the process stays active.
when this happens, wifi shows the AP as "idle" in the bottom line of status display, but the AP itself is not listed. when i then do wifi scan, the AP then shows up in the list, with a * next to its name, but wsupp still doesn't connect to it.
i suspect this happens when, after the disconnect happens, the AP is momentarily not in the scan results of the scan done by wsupp itself. i believe this to be so because i noticed on other disconnects (watching the output of my dhcp replacement script) wsupp immediately connects again.
this happens also when i use the minibase wsupp, it is probably due to me not using the ifmon tool, yet i think since on some disconnects reconnect works, it is the intention of the program to always re-establish the connection, which makes sense (alternatively, wsupp could exit, so the service supervisor would automatically restart it).

fails to find correct rfkill dir

this version fails to find the rfkill dir:

stat("/sys/class/net/wlan1/phy80211/rfkill", 0x7fff8d02d530) = -1 ENOENT (No such file or directory)
read(6, "\1\0\0\0\1\0\0\0", 128)        = 8
stat("/sys/class/net/wlan1/phy80211/rfkill", 0x7fff8d02d530) = -1 ENOENT (No such file or directory)
read(6, 0x7fff8d02d4b0, 128)            = -1 EAGAIN (Resource temporarily unavailable)
ppoll([{fd=3, events=POLLIN}, {fd=-1}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}], 4, {1, 0}, [], 8) = 0 (Timeout)
unlink("/var/run/ctrl/wsupp")           = 0
exit_group(0)                           = ?

the right dir is /sys/class/net/wlan1/phy80211/rfkill1/

the minibase-one does it right:

unlinkat(AT_FDCWD, "/var/wiap", 0)      = 0
sendto(3, "\34\0\0\0\23\0\1\0\2\0\0\0\0\0\0\0!\0\0\0\10\0\3\0\6\0\0\0", 28, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 28
ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}], 4, {60, 0}, [], 8) = 3 ([{fd=3, revents=POLLIN}, {fd=4, revents=POLLERR}, {fd=6, revents=POLLIN}], left {59, 999991898})
recvfrom(3, "0\0\0\0\2\0\0\0\2\0\0\0\35G\0\0\234\377\377\377\34\0\0\0\23\0\1\0\2\0\0\0"..., 6136, MSG_DONTWAIT, NULL, NULL) = 48
close(4)                                = 0
read(6, "\0\0\0\0\1\0\0\0", 128)        = 8
newfstatat(AT_FDCWD, "/sys/class/net/wlan1/phy80211/rfkill0", 0x7ffe48a23550, 0) = -1 ENOENT (No such file or directory)
read(6, "\1\0\0\0\1\0\0\0", 128)        = 8
newfstatat(AT_FDCWD, "/sys/class/net/wlan1/phy80211/rfkill1", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
ioctl(3, SIOCGIFFLAGS, {ifr_name="wlan1", ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(3, SIOCSIFFLAGS, {ifr_name="wlan1", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = 0
read(6, 0x7ffe48a234d0, 128)            = -1 EAGAIN (Resource temporarily unavailable)
ppoll([{fd=3, events=POLLIN}, {fd=-1}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}], 4, {60, 0}, [], 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.