Hacker News new | ask | show | jobs
by jiggy2011 5231 days ago
The issue with static IPs & Network Manager is posted all over the internet (just google "network manager static ip" so I assume they know about it already. Frankly I don't know enough about how NetworkManager works to dig into the source code and isolate the issue, since it's been ongoing for a while and I'm not the only person experiencing it I'm going to assume it would not be a simple fix.

I could use dhcp rules but then I sometimes have to move my development machine to other places where of course I will be on a different dhcp server which I may not have admin access to. The workaround of having a shell script that sends a bunch of "ifconfig" commands does the job for me whilst still allowing me to use NM for wifi config but it just seems like something that should be unnecessary.

I sort of assume that most experience Linux people have experienced some sound issues at some point. My problem with pulseaudio has always been the slight latency that seems to happen between sound being sent by the program and played by the speakers which means that for example when an MP3 file is paused the sound continues for a fraction of a second. Sure this may not be a huge issue and I didn't even notice it for a while but as soon as I noticed it, it really started to grind on me. Not to mention that it makes the system terrible for doing any kind of audio editing.

The solution for this is to uninstall pulseaudio and go back to ALSA which is a bit of a pain in itself, but once you've achieved this you get odd problems like (in ubuntu anyway) the sound control panel applet disappears and you have to run alsamixer to change the volume, also volume control for some programs (such as spotify) stops working completely.

There are a number of other various small issues that can make desktop Linux a pain to use sometimes, this is why I am often surprised that canonical seem to prioritize redesigning the GUI every few releases over fixing stuff like this.

1 comments

Duckduckgoing 'network manager static ip' really came up with a variety of reports. But a good number of explanations how this is supposed to work as well, in the top.

I'm sure you tried a couple things before you decided that it's just not working the way you like it, but for me it seems that static IPs, your way, should be no problem [1,2,3] with the on-board tools.

Sound: Never had that (or any related) issue since I stopped running weird apps under wine and I light a candle for Lennart every other day for a sound solution that just works in my world, whatever I throw at it.

1: http://wiki.debian.org/NetworkManager#Enabling_Interface_Man...

2: http://manpages.ubuntu.com/manpages/oneiric/man5/NetworkMana...

3: http://wiki.debian.org/NetworkManager#FAQ

Yes, I've been down that route with setting things in network manager config and had them wiped out when doing Ubuntu updates.

The real problem here is that if you set multiple static IPs in NM GUI it will lie to you and tell you that it has done it when it hasn't. This is pretty dire UX.

The audio issues with spotify were from running the native Linux client, oddly the volume control in the Windows/Wine version works fine with alsa (although a recent update to spotify seems to have broken wine compatibility almost entirely).