Re: DID/SIP provider in Israel
On 03/07/2012 06:00 PM, Baruch Shpirer wrote: I also need outbound calls or else I would continue to use them I have had good experience with grnvoip.com; They are more expensive for Israeli routes than voippro.com, about which I've learned from Robert's post (thus I can't really compare) grnvoip does offer a free reseller and calling card infrastructure you can piggy back on, with sub-account quotas, which might come in useful to you (it hasn't to me so far). They're service, should you need it, is competent and responsive. I've last needed to talk to them early in 2010 (I've been using them since early 2009). I'll give voippro.com next time I recharge my account - a $50 prepay seems to last forever these days. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How do I disable NetworkManager in favor of dhcp setup?
On Wed, Mar 07, 2012 at 09:02:27PM -0800, Michael Shiloh wrote: And what about those of us on embedded systems or others that offer only text-based interfaces? I'm trying to solve exactly this problem on a BeagleBoard via ssh, and can not use the GUI. On my laptop I moved at some point to NetworkManager, but decided not to use the GUI. I only use configuration files from /etc/NetworkManager/system-connections . $ cat /var/lib/NetworkManager/NetworkManager.state [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true Be sure to enable the parts you want enabled (wireless, wwan) here. I configure the wired network interface(s) in /etc/network/interfaces: allow-hotplug eth0 iface eth0 inet dhcp I also have some manual settings there. Then you need a configuration file. The name of the file can be arbitrary, but I name it the same as the name of the connection. $ cat /etc/NetworkManager/system-connections/example_wireless_plain [connection] type=802-11-wireless id=example_wireless_plain # You MUST set a different uuid for each connection. Don't copy it: # cat /proc/sys/kernel/random/uuid # or whatever #uuid=8609b858-69b1-4ca6-adbe-7dcd47cb8711 [802-11-wireless] ssid=TheirEssID $ cat /etc/NetworkManager/system-connections/example_wpa2 [connection] type=802-11-wireless id=example_wpa2 # You MUST set a different uuid for each connection. Don't copy it: # cat /proc/sys/kernel/random/uuid # or whatever #uuid=ca9e4d19-a06f-4c7e-b0db-9f27c1792ba1 [802-11-wireless] ssid=AnotherEssID mode=infrastructure security=802-11-wireless-security [802-11-wireless-security] key-mgmt=wpa-psk psk=The Password Those two stanzas covered some 99% of the cases for me. Scanning is still more cumbersome, though. I never did get to autemate generating a config. Shouldn't be complicated, though. Reference: http://projects.gnome.org/NetworkManager/developers/api/09/ref-settings.html Sadly I did not see any progress in http://bugs.debian.org/637769 . -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best tzaf...@debian.org|| friend ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How do I disable NetworkManager in favor of dhcp setup?
I have nothing much against network manager, especially these days with wifi and wpa etc which is a mess to setup manually. On a laptop it's a lifesaver (although I always get into trouble when I try to manually set an IP address). It's just that with a server (or even a remotely accessed desktop), that has a single wired Ethernet connection, it's an overkill and causes problems if it requires actual local user logon before it has a network. And if it's a headless machine, that is not even an option. Anyways, thanks for the pointers, trying them out now. For some reason, the machine doesn't seem to actually reboot when I type reboot from the ssh terminal, but rather it just logs out, so it takes some time to get feedback (I need someone there physically to reboot). Thanks On 08/03/12 06:47, Shachar Shemesh wrote: On 03/08/2012 12:21 AM, Micha wrote: I believe I pinpointed the problem tp NetworkManager being installed and enabled, which means that no network connection is actually configured before a user is logged in. No, it does not mean that at all. Simply set your eth0 connection to be a "system connection" to resolve your problem. On a wider note, I, too, used to hate Network Manager. It seemed like such an over complication in relation to such things as: /etc/network/interfaces doesn't exist, so I'm not sure how this is supposed to be achieved these days (under debian it's still there, just not active by default). The thing that finally broke me in was the utter impossibility of setting up a WPA connection without it. It was then easier to learn how to live with it than to fight its installation (and, on Debian, all you really have to do is uninstall it, and perhaps also avahi, which I still hate). The thing is, network manager brings unity (I know, bad pun) to an area that used to diverge so much between the distributions. I can't really call that a bad thing. Unlike what its reputation suggests, the global configuration isn't so cryptic. Just create a text file under /etc/NetworkManager/system-connections. Ugly uppercase apart - quite straight forward. I'd like the GUI managers to be more consistent, but that is really a minor quibble compared to the situation before NM. Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How do I disable NetworkManager in favor of dhcp setup?
I've had luck with 'sudo telinit 6' in cases where the reboot command failed. There's also a /proc variable that will force a reboot when written to, but its name escapes me for the moment. Rony Anyways, thanks for the pointers, trying them out now. For some reason, the machine doesn't seem to actually reboot when I type reboot from the ssh terminal, but rather it just logs out, so it takes some time to get feedback (I need someone there physically to reboot). -- Ubi dubium, ibi libertas (where there is doubt, there is freedom) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How do I disable NetworkManager in favor of dhcp setup?
On Thu, Mar 08, 2012 at 06:09:33PM +0200, ronys wrote: I've had luck with 'sudo telinit 6' in cases where the reboot command failed. There's also a /proc variable that will force a reboot when written to, but its name escapes me for the moment. /proc/sysrq-trigger Read 'man proc' Also note that writing 'b' to it is similar to unplugging the power cord, so use with caution. If you suspect a normal reboot won't work you might want to write there 's' (sync), 'u' (umount/mount readonly), then 'b' (boot). I know there are people that are used to even more complex sequences... -- Didi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
/usr/opt instead of /opt?
My current Linux system has a 15GB root partition, which has 6GB files. Turns out that that about 5.5GB are in the /opt directory. My /usr partition is 206GB, of which about 33GB are used. This led me to wonder why is it not recommended in the FSSTND[1] to deprecate /opt[2] and install its contents as /usr/opt (possibly with soft link from /opt to /usr/opt). [1] http://www.pathname.com/fhs/ [2] http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES --- Omer -- In civilized societies, captions are as important in movies as soundtracks, professional photography and expert editing. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: /usr/opt instead of /opt?
If you're familiar with the Fedora proposed move from /bin and /sbin to /usr/bin and /usr/sbin, you see that one of the ways that they're ensuring legacy compatibility is, after moving everything under /usr, then symlinking /bin to /usr/bin and /sbin to /usr/sbin. See: http://fedoraproject.org/wiki/Features/UsrMove So I imagine you might be able to do something similar, mounting your /opt and /usr/opt drives on a different machine, manually copying the files over, and manually creating the symlink. I've never tried something like that before so I have no idea if it would work (read: do at your own risk), it's just an idea... -Ari On Thu, Mar 8, 2012 at 9:49 PM, Omer Zak w...@zak.co.il wrote: My current Linux system has a 15GB root partition, which has 6GB files. Turns out that that about 5.5GB are in the /opt directory. My /usr partition is 206GB, of which about 33GB are used. This led me to wonder why is it not recommended in the FSSTND[1] to deprecate /opt[2] and install its contents as /usr/opt (possibly with soft link from /opt to /usr/opt). [1] http://www.pathname.com/fhs/ [2] http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES --- Omer -- In civilized societies, captions are as important in movies as soundtracks, professional photography and expert editing. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il