Hello, I am running e16 on FreeBSD (obviously) and if you don't know they have some add ons called epplets which are dockapps that only work on e16. On Linux I've always modified them easily but replacing everywhere in whatever files it pertains to (only 3 files) the 'eth0' with 'wlan0' compliled then installed and they operate off of the wifi information.
With FreeBSD not so easy as that does not work, I've tried wlan0 and em0 to replace eth0 and neither work, and even the wifi one they have for it there is no '/proc/net/wireless' . so where is FreeBSD hiding this access to the information?
and this
Don't work
With FreeBSD not so easy as that does not work, I've tried wlan0 and em0 to replace eth0 and neither work, and even the wifi one they have for it there is no '/proc/net/wireless' . so where is FreeBSD hiding this access to the information?
Code:
static void
load_conf(void)
{
const char *s;
s = Epplet_query_config_def("upstream_max", "1540000");
upstream_max = (double)atof(s);
s = Epplet_query_config_def("downstream_max", "1540000");
downstream_max = (double)atof(s);
netdev = Epplet_query_config_def("device", "wlan0");
}
Code:
fpStat = fopen("/proc/net/wireless", "r");
if (fpStat)
{
fgets(s, sizeof(s), fpStat);
fgets(s, sizeof(s), fpStat);
fgets(s, sizeof(s), fpStat);