Comments (12)
My .i3status.conf files has the following entries for networkign stuff:
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
wireless wwp0s20u4 {
format_up = "M: %quality (%ip)"
format_down = "M: down"
}
The first two entries come by default (I don't know if it's i3status default or Fedora default), while I added the third to have the Mobile Broadband showed as well.
As for the strace, I'm not able to attach it (since the gz format is not accepted by github -.-) so you can find it at https://fale.fedorapeople.org/strace.log.gz
from i3status.
@Fale You’re using “wireless wwp0s20u4”, but you should be using “ethernet wwp0s20u4”. Wireless is for 802.11 devices, and mobile broadband is an ethernet device to the Linux kernel.
from i3status.
Here are a couple of thoughts:
- How is a mobile broadband connection different from just an ethernet connection? I.e., which information would you want to display aside from the IP address?
- Why is this use-case not already covered by what NetworkManager (or similar tools) display?
- Mobile broadband is certainly a feature which is not going to be used by the majority of i3status users. I think a far more common case is people using tethering with their mobile phones, hence just using a wireless or USB connection as far as the computer is concerned. I’m thinking it might make sense to put this into contrib/ instead of core i3status.
from i3status.
On Sat, Dec 05, 2015 at 02:55:43AM -0800, Michael Stapelberg wrote:
Here are a couple of thoughts:
- How is a mobile broadband connection different from just an ethernet connection? I.e., which information would you want to display aside from the IP address?
Not very, but I tried to trick i3status to believe that the mobile
network is an eth, but something did not went according to plan.
I think is somehow more similar to a wireless connection than to a wired
one (ie: it has the signal strength).
- Why is this use-case not already covered by what NetworkManager (or similar tools) display?
Gnome's network manager allows me to manage the mobile link, but does
not display it in i3status bar.
- Mobile broadband is certainly a feature which is not going to be used by the majority of i3status users. I think a far more common case is people using tethering with their mobile phones, hence just using a wireless or USB connection as far as the computer is concerned. I’m thinking it might make sense to put this into contrib/ instead of core i3status.
Surely is not a feature that 100% of users will use since, as you said,
most people use tethering with their mobile phones
Reply to this email directly or view it on GitHub:
#85 (comment)
from i3status.
I tried to trick i3status to believe that the mobile network is an eth, but something did not went according to plan.
Can you be more specific about what happened here? I.e. what did you expect, what did you see instead? Can you provide an strace log of i3status? (use strace -f -tt -o /tmp/strace.log -s 2048 i3status
, cancel after a couple of seconds using Ctrl-C, then provide /tmp/strace.log, possibly compressed).
from i3status.
In the strace log file you provided, the wireless block you added is not actually referenced in your /home/fale/.i3status.conf
, but commented out:
order += \"wireless _first_\"
#order += \"wireless wwp0s20u4\"
order += \"ethernet _first_\"
order += \"battery 0\"
[…]
Can you provide a new strace log after fixing your config? Also, can you describe what you see and what you expect?
from i3status.
Sorry
I was expecting the Mobile connection to be green, since I'm currently connected with it.
Attaching the strace.zip file
strace.zip
from i3status.
I'm using i3status with both internal 3G modem and external 3G USB tethering (through Android device). If I am not connected through my wired (twisted pair) interface, they are both reported as ethernet links (using 'ethernet first' directive). Even my VPN tunnel is reported through 'ethernet first' option.
from i3status.
@tnnn I use very rarely the wired connection, but what you are describing never happened to me
from i3status.
Thanks :) It did work.
from i3status.
This still doesn't allow mobile broadband users to see 3G connection strength... it is more like a wireless connection than it is like an ethernet connection
from i3status.
I followed the instructions in this thread to get i3status to show me info about my wwp0s20u4
mobile broadband connection. And, yes, it works, but I can only get the IP. Apparently, you can't get the speed, even if you add the privileges using setcap
(although this function appears to be obsolete since 2011).
More information here:
https://www.reddit.com/r/i3wm/comments/b7h809/i3status_not_showing_speed_for_mobile_broadband/
Does anybody have an idea of how to show the mobile broadband module download/upload speed on any i3 status bar?
thanks
from i3status.
Related Issues (20)
- read_file can't read with & symbol? HOT 1
- Battery `%emptytime` returns empty string HOT 1
- Increase width to 3 characters+% for CPU usage
- Volume config uses Pulseaudio port name instead of description HOT 6
- i3status doesn't distinguish between Idle and discharging battery. HOT 3
- segfault when read_file module is missing the path option
- tztime format_time stopped working? HOT 2
- print_wireless_info buffer overflow HOT 4
- battery: do not show the same value as `neofetch` HOT 1
- I have an issue with i3status about option 'order'. HOT 1
- Battery module incorrectly trims whitespace
- Ethernet iface's with @ in ifname not properly supported
- Fails to build on Mac
- wireless _first_ not working HOT 1
- i3status shows negative WiFi bitrate (integer overflow) HOT 2
- Feature request: Make space between workspace names configurable HOT 2
- Time for a new release? HOT 2
- Default Config Shows IP Address HOT 2
- Battery status strings are limited to 9 characters
- [Feature] Add horizontal padding to i3status. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3status.