Re: [gentoo-user] best practise for 4 disks ... redundancy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11.03.2015 12:09, Neil Bothwick wrote: Then I spent some hours fiddling with grub2, gummiboot et al to get that box booting up fine. dracut doesn't assemble the rootfs-raid etc etc ... - fun I found this with a LUKS root filesystem, dracut doesn't automatically detect such devices any more, so speed up the boot. You need to specify rd.auto or rd.mdraid to force it. I think, both ... I will have a look next time. I generally set up boot on a RAID1 across all disks. You can still access individual disks in a RAID1 array, so you can set your computer to boot from sda1 then sda2 etc but mount /boot on the array, so all updates are pushed to all four disks. So RAID1 with vfat as ESP ? S -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCAAGBQJVAGS7AAoJEClcuD1V0PzmbLMP/1aC6o90RCrVahLzkOo2tHj4 GeZ1Fvni//wcH/gc7GxxeTfkd0N6oY1O8LOcoA/zdHnKmJXuix52uunG7HGuu4Ti 99AntboNP+9zYn49Q47wodMaLFDtkFXaj22dBjUVX6dzHG4Fo3pe91NnXxwu4JXv HgaXUfpI8lWRmj+eFdWG6QjztQnPQug6JAt+6Lm1pcy59JmK6VC+YpAezBW2iyO6 Lz5YZtDga6YPrKHlIrhEN+KS0DW3vcenQQyNZPi41p/4B1LtD0A8EvCS6kOcj8eW t+JPGZXJ2JYA42aL/xIEuv8yTO5g2CP+X5vRPmPQvQBbDhmuBtgmoU/w/nVHczcO v8bywNGeYC+MjlOq4/WvCFXiwuBPcecx9DtyVVJKU+uqVpeV3n0mGxDaUY6yOP+j GfexRTBGVu/USspZI6h//+yUJ1Gn8NIQnr9CVscJc5aYz9sfIpUPmKjgdrL/QkpL u2TTu7Yo6T858ULt1oALbBFps3110wTu3g/czMp//5DIsLO8O0dQi6g7K6mg23J5 8vA5GKRZ46jM23avEe1+1aRva87e5/TElSpYF7VbA3+aYG7ZCNct7mgXHhnpO47n qBYV4CtI9gdaBY/teaSAo/JvfbwxyFMCvc9etj803JWPAgmOUwDOsrzfV77w5bti c3+I2Go9tGZ1BPwUC6UT =4li3 -END PGP SIGNATURE-
Re: [gentoo-user] best practise for 4 disks ... redundancy
On Wed, 11 Mar 2015 16:52:27 +0100, Stefan G. Weichinger wrote: I generally set up boot on a RAID1 across all disks. You can still access individual disks in a RAID1 array, so you can set your computer to boot from sda1 then sda2 etc but mount /boot on the array, so all updates are pushed to all four disks. That should have read sda1 then sdb1. So RAID1 with vfat as ESP ? That's how I'd do it. I have /boot on RAID1 on this box (but not as FAT and it's a BIOS motherboard) with everything else on a btrfs RAID and it works well. -- Neil Bothwick A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? pgpbnAyzn5Dy2.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, Mar 11, 2015 at 3:27 PM, German gentger...@gmail.com wrote: Did you hear about CLI wi-fi tool iw? I am testing it right now, but seem cannot figure out how to use it iw is OK to set up an unencrypted or wep connection but you need wpa_supplicant for a wpa connection; and you need either ip or a dhcp client for the actual ip setup.
Re: [gentoo-user] Networkmanager emerged, system unstable
On Wed, 11 Mar 2015 16:25:00 -0400 Josh Lemerand emptykathar...@gmail.com wrote: nmcli dev wifi con Cafe Hotspot 1 password caffeine name My cafe creates a new connection named My cafe and thenconnects it to Cafe Hotspot 1 SSID using password caffeine. This is mainly useful when connecting to Cafe Hotspot 1 for the first time. Next time, it is better to use 'nmcli con up id My cafe' so that the existing connection profile can be used and no additional is created. Thanks. Are there any ways to scan for available wi-fi hotspots in nmcli? from the nmcli man page. On Wed, Mar 11, 2015 at 3:40 PM, German gentger...@gmail.com wrote: So yes, I did install networkmanager, however for some reason after emerging it, I got the problems: Console cursor can not blink, keyboard input is unstable, sometimes cursor is stuck, sometimes it gets delays in ouput. Something broke my system. Does anyone have a clue what is going on? Also, while I am considering installing wicd ncurses, does anyone use CLI wifi tool iw? I can connect to network with cable attached, however there is no connection when I try to use wifi module. How networkmanager can be configured to use wi-fi? Thanks -- German gentger...@gmail.com -- German gentger...@gmail.com
Re: [gentoo-user] Networkmanager emerged, system unstable
nmcli dev wifi con Cafe Hotspot 1 password caffeine name My cafe creates a new connection named My cafe and thenconnects it to Cafe Hotspot 1 SSID using password caffeine. This is mainly useful when connecting to Cafe Hotspot 1 for the first time. Next time, it is better to use 'nmcli con up id My cafe' so that the existing connection profile can be used and no additional is created. from the nmcli man page. On Wed, Mar 11, 2015 at 3:40 PM, German gentger...@gmail.com wrote: So yes, I did install networkmanager, however for some reason after emerging it, I got the problems: Console cursor can not blink, keyboard input is unstable, sometimes cursor is stuck, sometimes it gets delays in ouput. Something broke my system. Does anyone have a clue what is going on? Also, while I am considering installing wicd ncurses, does anyone use CLI wifi tool iw? I can connect to network with cable attached, however there is no connection when I try to use wifi module. How networkmanager can be configured to use wi-fi? Thanks -- German gentger...@gmail.com
Re: [gentoo-user] Networkmanager emerged, system unstable
On Wed, Mar 11, 2015 at 4:43 PM, German gentger...@gmail.com wrote: On Wed, 11 Mar 2015 16:25:00 -0400 Josh Lemerand emptykathar...@gmail.com wrote: nmcli dev wifi con Cafe Hotspot 1 password caffeine name My cafe creates a new connection named My cafe and thenconnects it to Cafe Hotspot 1 SSID using password caffeine. This is mainly useful when connecting to Cafe Hotspot 1 for the first time. Next time, it is better to use 'nmcli con up id My cafe' so that the existing connection profile can be used and no additional is created. Thanks. Are there any ways to scan for available wi-fi hotspots in nmcli? from the nmcli man page. On Wed, Mar 11, 2015 at 3:40 PM, German gentger...@gmail.com wrote: So yes, I did install networkmanager, however for some reason after emerging it, I got the problems: Console cursor can not blink, keyboard input is unstable, sometimes cursor is stuck, sometimes it gets delays in ouput. Something broke my system. Does anyone have a clue what is going on? Also, while I am considering installing wicd ncurses, does anyone use CLI wifi tool iw? I can connect to network with cable attached, however there is no connection when I try to use wifi module. How networkmanager can be configured to use wi-fi? Thanks -- German gentger...@gmail.com -- German gentger...@gmail.com nmcli dev wifi list should list the networks out there
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wednesday, March 11, 2015 4:15:53 PM Tom H wrote: I've never used nmcli except to get ip information (see below) but setting up NM without a gui is simple. This is my home wifi setup: # cat /etc/NetworkManager/system-connections/thsky [connection] id=thsky uuid=e03d75e4-043a-4276-bf03-3995270ec891 type=802-11-wireless [802-11-wireless] ssid=myssidname mode=infrastructure security=802-11-wireless-security [802-11-wireless-security] key-mgmt=wpa-psk psk=myssidpassword [ipv4] method=manual address1=192.168.1.11/24,192.168.1.1 dns=192.168.1.111 [ipv6] method=link-local Did you find that documented somewhere or did you use an UI to create the file originally? What about when you need one of the many features that this simple example doesn't cover (like permissions)? what is the guid? It is hard. When I started using NetworkManager I had hell trying to modify that file manually because plasma-nm ask for root password when modifying system wide connections but it doesn't save the changes (the solution was to run nm- connection-editor manually as root). The same applies to nmtui and it only covers a few options. I don't remember exactly what needed to be changed in the file but it wasn't intuitive. -- Fernando Rodriguez
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
2015-03-11 7:16 GMT-06:00 German gentger...@gmail.com: On Wed, 11 Mar 2015 12:38:08 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 08:14:13 -0400, German wrote: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found emerge eix, then run eix-update as root. Ok, done that. Indeed there are anything related to x11-lib, but when I do emerge --ask net-misc/networkmanager I see x11-proto and x11-libs to be emerged. Use variable is set to -X. Anyone can shed a light on this? How can I emerge networkmanager without X dependencies? Thanks so much If you want an easy way of configuring wirless without GUI use wicd and the wicd curses client(enabled via USE flag), NetworkManager is simpler to use with a GUI, the CLI client is not so easy to use, but if you want to, make sure none of the GUI related use flags are set e.g. gtk qt X emerge it, and then read and search info(man, google) about nmcli.
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
2015-03-11 12:35 GMT-06:00 Jc García jyo.gar...@gmail.com: search info(man, google) about nmcli. also nmtui, it seems easier to use, I hadn't looked at the list of NetworkManager tools in a while, but still the wicd cli interface is easier from what I remember.
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 12:35:26 -0600 Jc García jyo.gar...@gmail.com wrote: 2015-03-11 7:16 GMT-06:00 German gentger...@gmail.com: On Wed, 11 Mar 2015 12:38:08 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 08:14:13 -0400, German wrote: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found emerge eix, then run eix-update as root. Ok, done that. Indeed there are anything related to x11-lib, but when I do emerge --ask net-misc/networkmanager I see x11-proto and x11-libs to be emerged. Use variable is set to -X. Anyone can shed a light on this? How can I emerge networkmanager without X dependencies? Thanks so much If you want an easy way of configuring wirless without GUI use wicd and the wicd curses client(enabled via USE flag), NetworkManager is simpler to use with a GUI, the CLI client is not so easy to use, but if you want to, make sure none of the GUI related use flags are set e.g. gtk qt X emerge it, and then read and search info(man, google) about nmcli. Did you hear about CLI wi-fi tool iw? I am testing it right now, but seem cannot figure out how to use it -- German gentger...@gmail.com
Re: [gentoo-user] [OT] Mysterious vanishing of DNS entry of www.youtube.com...was I hacked?
Am Dienstag, 10.03.2015 um 18:10 schrieb Justin Findlay jfind...@gmail.com: On 03/10/2015 01:35 PM, waben...@gmail.com wrote: Most modems and routers have really bad DNS proxies. I tend to either run my own or use Googles DNS: 8.8.8.8 and 8.8.4.4 I don't like the idea that google is getting all information about my DNS queries. ;-) If you need a temporary public resolver and you don't want to send more info to google, you can use these public resolvers from Level 3: 4.2.2.1 4.2.2.2 4.2.2.3 4.2.2.4 You should normally use and know the DNS servers provided by the most local networks you're in. If any of these are untrustworthy or problematic, 4.2.2.2 should work well enough to get online to sort it out. Here is an interesting intro to the subject (be sure to also read the comments): http://www.circleid.com/posts/20110407_top_public_dns_resolvers_compared/ Justin THX for the info. I will take a look at it. -- Regards wabe
Re: [gentoo-user] best practise for 4 disks ... redundancy
On Wed, 11 Mar 2015 23:14:49 +0100, Stefan G. Weichinger wrote: Am 11.03.2015 um 17:06 schrieb Neil Bothwick: So RAID1 with vfat as ESP ? That's how I'd do it. I have /boot on RAID1 on this box (but not as FAT and it's a BIOS motherboard) with everything else on a btrfs RAID and it works well. I will redo my setup tomorrow ... thanks So your suggestion is with MBR and not GPT? Absolutely not! MBR is fragile, limited and horrible. I use GPT but not UEFI because this is a pre-UEFI motherboard. I still wonder if to do UEFI and GPT because both are the more modern ways of doing things (and be prepared for future developments) or just stay with BIOS and MBR as long as I don't need it (with disks smaller than 2 TB etc) Given the choice, I'd use GPT for the above reasons and UEFI because Gummiboot is nicer than GRUB. -- Neil Bothwick During a raid on a local chemist's shop, 2000 Viagra tablets were stolen Police are looking for hardened criminals! pgp_BC1q0eDXr.pgp Description: OpenPGP digital signature
Re: [gentoo-user] best practise for 4 disks ... redundancy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 11.03.2015 um 17:06 schrieb Neil Bothwick: So RAID1 with vfat as ESP ? That's how I'd do it. I have /boot on RAID1 on this box (but not as FAT and it's a BIOS motherboard) with everything else on a btrfs RAID and it works well. I will redo my setup tomorrow ... thanks So your suggestion is with MBR and not GPT? I still wonder if to do UEFI and GPT because both are the more modern ways of doing things (and be prepared for future developments) or just stay with BIOS and MBR as long as I don't need it (with disks smaller than 2 TB etc) S -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCAAGBQJVAL5ZAAoJEClcuD1V0PzmLKoP/1dZwbyBmu4qbnQF8+IXKOHd QGeoGpoyP0ZYQaAoVNvklYNqeSYYsKHY0vV7olcAj28NLT6UsFd3J3NDbgxw9OlP KecuwIGdOylsPF+NDJ2hM5LlREVvhNzsHnMgkmzjaq6F+30rBTNIKSYJNxsxX26q wEjQIEPxFHxuafaW8tFROZqHtwr56XPf9PEB2DDrt2jK5H+roUx0u4BU6gLnQO3W Zf6tdbfW0rlRhllPGJUKaJOQp1sOnez7C2WToyVJX2Jy44pbuZ1SpUbRl008JY+6 M4QMSqbCvb41ud8TYgkZetFKHB9r/xLN0uE1oq1rlFh0mbw7TU+K+Lt4ICA/u/cN JVFM7tKuO+6wgzl+zJOWfbuGwXDAjYElDzquHCGIu823oezb6LXfA5GMJMqC2//e CnP4irR+D3fZIj5i5E6+7+R1wy2KVgm7FDinYmhHHzr1X/8Nj+ff1jGZx2j1gTk3 Mzc68GKYzewIJn5iR7/jt02FIvo0mVrkGCBMgnDnI90hFwUzBOCBdbkYp+j4kKRe d10/8mdlVwnCS0uXqXLCMbnaMYzZDn3YOrEdoNEkXkXxnUKOmfMqwTrT2TRvCyVW iz5r829IrXi80rtBn2+x9zTMZXodWUEj+Nzd2k2ok7hAqkIImcGXOAjh/Qj6wHbq xVNLmuNC7mnQTLWyrva5 =VI4K -END PGP SIGNATURE-
Re: [gentoo-user] Can't fetch www-plugins/chrome-binary-plugins
On Tuesday 10 Mar 2015 23:33:33 Fernando Rodriguez wrote: On Tuesday, March 10, 2015 11:19:34 PM Mick wrote: On Tuesday 10 Mar 2015 22:45:28 Dale wrote: Mick wrote: This is the second machine I am getting a 404 in as many weeks with this package. Is it a known problem, or am I the only one suffering from this? Emerging (1 of 8) www-plugins/chrome-binary- plugins-41.0.2272.76_p1::gentoo * Fetching files in the background. To view fetch progress, run * `tail -f /var/log/emerge-fetch.log` in another terminal. Downloading 'https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stabl e/go ogle-chrome-stable_41.0.2272.76-1_amd64.deb' --2015-03-10 22:02:09-- https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable /goo gle-chrome-stable_41.0.2272.76-1_amd64.deb Resolving dl.google.com... 216.58.210.46, 2a00:1450:4009:800::200e Connecting to dl.google.com|216.58.210.46|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2015-03-10 22:02:09 ERROR 404: Not Found. !!! Couldn't download 'google-chrome-stable_41.0.2272.76-1_amd64.deb'. Aborting. * Fetch failed for 'www-plugins/chrome-binary-plugins-41.0.2272.76_p1', Log file: * '/var/tmp/portage/www-plugins/chrome-binary- plugins-41.0.2272.76_p1/temp/build.log' * Please wait 24 hours and sync your portage tree before reporting fetch failures. I don't use the package but tried to fetch it to test. Same failure here too. Can you force it to use a different mirror or is it google's and that's it? Dale :-) :-) Thanks Dale, I'm guessing google is the only repo, at least that's the SRC_URI coded in the ebuild. Google only keeps the latest versions so that ebuild is usually only good for a short while after it gets marked stable. Just keyword the unstable package. So users of the stable package have to be really fast, or lucky? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Can't fetch www-plugins/chrome-binary-plugins
On Wednesday 11 Mar 2015 06:42:35 Fernando Rodriguez wrote: On Wednesday, March 11, 2015 6:20:25 AM Mick wrote: On Tuesday 10 Mar 2015 23:33:33 Fernando Rodriguez wrote: Google only keeps the latest versions so that ebuild is usually only good for a short while after it gets marked stable. Just keyword the unstable package. So users of the stable package have to be really fast, or lucky? Right. Or put emerge www-plugins/chrome-binary-plugins --fetchonly on a cron job to fetch it as soon as it's stable. I googled for it and downloaded it from a mirror. Am I correct that if the hash is not right the ebuild will complain about it, or will I end up installing a suspect package? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] gummiboot does not display new kernel
On Sunday, March 08, 2015 11:11:49 AM Canek Peláez Valdés wrote: On Sun, Mar 8, 2015 at 11:05 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 8 Mar 2015 10:51:38 -0600, Canek Peláez Valdés wrote: Are the ownership and mode of e55a6b6a09bd2b1c50216272545a8d1f-3.19.1-gentoo.conf the same as the two others (although I'd assume that it wouldn't matter) and is it formatted correctly? The /boot partition in UEFI systems needs to be vfat. Permissions are not gonna matter that much in that. But filename lengths may do. What is the maximum length for FAT32? Is it possible both files are considered the same? In that case, it would not work in my case, and it does (see my last reply). Besides, it has been working with those filenames for months now. FAT32 supports (IIRC) 256 long filenames. Canek, I don't see these long filenames in your filetree-listing. You have a directory with the UUID, but then just the kernel-version numbers. Or am I looking at the wrong email? -- Joost
Re: [gentoo-user] gummiboot does not display new kernel
On Wed, Mar 11, 2015 at 1:11 AM, J. Roeleveld jo...@antarean.org wrote: [...] Canek, I don't see these long filenames in your filetree-listing. You have a directory with the UUID, but then just the kernel-version numbers. Or am I looking at the wrong email? You are: # tree -l /boot/loader/ /boot/loader/ ├── entries │ ├── db93dd0e1382198eb26650c05430b171-3.18.9.conf │ ├── db93dd0e1382198eb26650c05430b171-3.19.0.conf │ └── db93dd0e1382198eb26650c05430b171-3.19.1.conf ├── gentoo.bmp └── loader.conf 1 directory, 5 files # tree -l /boot/db93dd0e1382198eb26650c05430b171/ /boot/db93dd0e1382198eb26650c05430b171/ ├── 3.18.9 │ ├── initrd │ └── kernel ├── 3.19.0 │ ├── initrd │ └── kernel └── 3.19.1 ├── initrd └── kernel Here it works. What's more, Stefan said it worked in another machine of his. Seems like a heisenbug. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México
Re: [gentoo-user] Can't fetch www-plugins/chrome-binary-plugins
On Wednesday, March 11, 2015 6:20:25 AM Mick wrote: On Tuesday 10 Mar 2015 23:33:33 Fernando Rodriguez wrote: On Tuesday, March 10, 2015 11:19:34 PM Mick wrote: On Tuesday 10 Mar 2015 22:45:28 Dale wrote: Mick wrote: This is the second machine I am getting a 404 in as many weeks with this package. Is it a known problem, or am I the only one suffering from this? Emerging (1 of 8) www-plugins/chrome-binary- plugins-41.0.2272.76_p1::gentoo * Fetching files in the background. To view fetch progress, run * `tail -f /var/log/emerge-fetch.log` in another terminal. Downloading 'https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stabl e/go ogle-chrome-stable_41.0.2272.76-1_amd64.deb' --2015-03-10 22:02:09-- https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable /goo gle-chrome-stable_41.0.2272.76-1_amd64.deb Resolving dl.google.com... 216.58.210.46, 2a00:1450:4009:800::200e Connecting to dl.google.com|216.58.210.46|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2015-03-10 22:02:09 ERROR 404: Not Found. !!! Couldn't download 'google-chrome-stable_41.0.2272.76-1_amd64.deb'. Aborting. * Fetch failed for 'www-plugins/chrome-binary-plugins-41.0.2272.76_p1', Log file: * '/var/tmp/portage/www-plugins/chrome-binary- plugins-41.0.2272.76_p1/temp/build.log' * Please wait 24 hours and sync your portage tree before reporting fetch failures. I don't use the package but tried to fetch it to test. Same failure here too. Can you force it to use a different mirror or is it google's and that's it? Dale :-) :-) Thanks Dale, I'm guessing google is the only repo, at least that's the SRC_URI coded in the ebuild. Google only keeps the latest versions so that ebuild is usually only good for a short while after it gets marked stable. Just keyword the unstable package. So users of the stable package have to be really fast, or lucky? Right. Or put emerge www-plugins/chrome-binary-plugins --fetchonly on a cron job to fetch it as soon as it's stable. -- Fernando Rodriguez signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] best practise for 4 disks ... redundancy
On Wed, 11 Mar 2015 07:45:54 +0100, Stefan G. Weichinger wrote: yesterday I received a shiny new server for a client. It brings 4 x 1 TB SATA disks, is capable of UEFI and I started setting it up. GPT partitioning, small partition(s) for the ESP, some swap, and bigger partitions of type fd=raid for creating 2 mdadm-raids (rootfs and data) with level 6. ok so far. Then I spent some hours fiddling with grub2, gummiboot et al to get that box booting up fine. dracut doesn't assemble the rootfs-raid etc etc ... - fun I found this with a LUKS root filesystem, dracut doesn't automatically detect such devices any more, so speed up the boot. You need to specify rd.auto or rd.mdraid to force it. even if I manage to have it booting via UEFI from /dev/sda1 or so ... I still have this single point of failure as the vfat-partitioned ESP is on one physical disk only. I would like to set it up in a way that it boots even when the /dev/sda dies ... I generally set up boot on a RAID1 across all disks. You can still access individual disks in a RAID1 array, so you can set your computer to boot from sda1 then sda2 etc but mount /boot on the array, so all updates are pushed to all four disks. -- Neil Bothwick I distinctly remember forgetting that. pgpXUdOVNwLSz.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 05:48:08 -0400, Fernando Rodriguez wrote: On Wednesday, March 11, 2015 5:19:32 AM German wrote: Hi. I was said that I need network manager to control my interfaces. What package should I emerge? I am in console mode. Is that ncurses based or command line? Any other pointers on how this can be configured are welcome. Thanks net-misc/networkmanager It comes with CLI tools but it's usually used with a frontend GUI. See http://wiki.gentoo.org/wiki/NetworkManager#NetworkManager_GUI_bits_in_GTK For KDE I use kde-misc/plasma-nm. If you don't have a desktop it propably makes more sense to just use wpa_supplicant directly. wpa_supplicant doesn't handle switching between wored and wireless interfaces, which is why I suggest a network manager. That could be NetworkManager, but you could equally use Wicd. Both are in portage. Alternatively, you could just set up the two interfacs in /etc/conf.d/net and switch between them by starting and stopping /etc/init.d/net.{eth0,wlan0}. It depends on how automatic you want it. -- Neil Bothwick Therapy is expensive, popping bubble wrap is cheap! You choose. pgp0AZP5II3xc.pgp Description: OpenPGP digital signature
[gentoo-user] Network manager [ control of wireless and wired interafaces]
Hi. I was said that I need network manager to control my interfaces. What package should I emerge? I am in console mode. Is that ncurses based or command line? Any other pointers on how this can be configured are welcome. Thanks -- German gentger...@gmail.com
Re: [gentoo-user] [OT] Mysterious vanishing of DNS entry of www.youtube.com...was I hacked?
On Tuesday 10 March 2015 19:16:12 meino.cra...@gmx.de wrote: I rebooted my Gentoo box...no help... The problem vanishes as I powercycled my DSL modem. Any other access was working the whole time. Was my DSL modem hacked? Does anyone else noticed a glithc in the matrix? I think DSL modems must run Windows - they seem to need rebooting every now and then. I had to do so last week when various lookups failed, or needed several attempts. -- Rgds Peter.
Re: [gentoo-user] Can't fetch www-plugins/chrome-binary-plugins
On Wed, Mar 11, 2015 at 7:05 AM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 06:20:25 +, Mick wrote: Google only keeps the latest versions so that ebuild is usually only good for a short while after it gets marked stable. Just keyword the unstable package. So users of the stable package have to be really fast, or lucky? Gentoo should keep a copy in its mirrors for as long as a current ebuild needs it (unless the package is fetch-restricted). Chrome is mirror-restricted, because of: 9.2 Subject to section 1.2, you may not (and you may not permit anyone else to) copy, modify, create a derivative work of, reverse engineer, decompile or otherwise attempt to extract the source code of the Software or any part thereof, unless this is expressly permitted or required by law, or unless you have been specifically told that you may do so by Google, in writing. chrome-binary-plugins is not free software, or open source. There is little Gentoo can do when they keep changing the URL/hash without warning. You can file a bug to get the ebuild updated though. -- Rich
Re: [gentoo-user] Can't fetch www-plugins/chrome-binary-plugins
On Wed, 11 Mar 2015 06:20:25 +, Mick wrote: Google only keeps the latest versions so that ebuild is usually only good for a short while after it gets marked stable. Just keyword the unstable package. So users of the stable package have to be really fast, or lucky? Gentoo should keep a copy in its mirrors for as long as a current ebuild needs it (unless the package is fetch-restricted). -- Neil Bothwick A TRUE Klingon warrior does not comment his code! pgpUk46ri_kVt.pgp Description: OpenPGP digital signature
Re: [gentoo-user] [OT] Mysterious vanishing of DNS entry of www.youtube.com...was I hacked?
The second argument to both host and nslookup, specifies the server to use for the lookup. So, you can compare the results of the DNS server specified in /etc/resolv.conf, with others like those mentioned above, eg host youtube.com 8.8.8.8 or nslookup youtube.com 4.2.2.4 However, youtube.com will no doubt be using global server load balancing, which means the DNS response will be based on the source IP address of the DNS request, so you can be directed to the closest youtube.com server(s). So, since you cant be sure the DNS results will be consistent across DNS servers, you can't use that to determine if you're being MITM'd. Mind you I don't think a non-targetted MITM would bother with someone's youtube traffic, but if your concerned about that just connect to youtube with https, so the certificate can be verified.
Re: [gentoo-user] [OT] Mysterious vanishing of DNS entry of www.youtube.com...was I hacked?
On Tue, 10 March 2015, at 6:16 pm, meino.cra...@gmx.de wrote: ... The problem vanishes as I powercycled my DSL modem. Was my DSL modem hacked? I think it's far more likely the router ran out of memory, a process hung or something. Perhaps other sites worked because they were cached. There's no way to debug it now, and replies can only be speculation. If it becomes a regular problem, I suggest you install OpenWRT, which will give you the tools you need for debugging it. Stroller.
Re: [gentoo-user] Can't fetch www-plugins/chrome-binary-plugins
On Wed, 11 March 2015, at 6:52 am, Mick michaelkintz...@gmail.com wrote: ... I googled for it and downloaded it from a mirror. Am I correct that if the hash is not right the ebuild will complain about it, Yes.
Re: [gentoo-user] Problem with perl dependencies on emerge -uD world
On Tue, 10 March 2015, at 4:07 pm, Marko Weber | 8000 we...@zbfmail.de wrote: ... i get the following output, and have no idea how to solve this comnflicts. Can anyone help me or guide me? Search the list for perl - perl update conflicts have been discussed several times in the last few weeks. Stroller.
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wednesday, March 11, 2015 5:19:32 AM German wrote: Hi. I was said that I need network manager to control my interfaces. What package should I emerge? I am in console mode. Is that ncurses based or command line? Any other pointers on how this can be configured are welcome. Thanks net-misc/networkmanager It comes with CLI tools but it's usually used with a frontend GUI. See http://wiki.gentoo.org/wiki/NetworkManager#NetworkManager_GUI_bits_in_GTK For KDE I use kde-misc/plasma-nm. If you don't have a desktop it propably makes more sense to just use wpa_supplicant directly. If you use systemd net-misc/netctl has a nice curses UI but I've only tried on Arch. -- Fernando Rodriguez
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 12:38:08 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 08:14:13 -0400, German wrote: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found emerge eix, then run eix-update as root. Ok, done that. Indeed there are anything related to x11-lib, but when I do emerge --ask net-misc/networkmanager I see x11-proto and x11-libs to be emerged. Use variable is set to -X. Anyone can shed a light on this? How can I emerge networkmanager without X dependencies? Thanks so much -- Neil Bothwick Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it. -- German gentger...@gmail.com
Re: [gentoo-user] Problem with perl dependencies on emerge -uD world
hi neil, Am 2015-03-10 21:05, schrieb Neil Bothwick: On Tue, 10 Mar 2015 17:07:32 +0100, Marko Weber | 8000 wrote: on one of my gentoo-servers i try to update the system with 'emerge -uD world'. i get the following output, and have no idea how to solve this comnflicts. Can anyone help me or guide me? = # emerge -uD world * IMPORTANT: 10 news items need reading for repository 'gentoo'. * Use eselect news to read news items. I'd start by reading these. Chances are one of them contains the answer to your problem. This is caused by the movement of some packages from perl-core into the main perl build. Make sure you have no perl-core packages in world. just want to say that your hint worked. i removed all perl-core packages and then 'emerge -pvuD world' worked again like a charm. marko
Re: [gentoo-user] Problem with perl dependencies on emerge -uD world
hi martin, Am 2015-03-10 19:03, schrieb Martin Jerabek: On 10.3.2015 17:07, Marko Weber | 8000 wrote: Hi, on one of my gentoo-servers i try to update the system with 'emerge -uD world'. i get the following output, and have no idea how to solve this comnflicts. Can anyone help me or guide me? = # emerge -uD world ... = thanks, marko `perl-cleaner --all` usually works for me perl-cleanner --reallyall wont work for me in that situation, cause the depencie problems are still present at this state.
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On 11/03/2015 13:40, German wrote: wpa_supplicant doesn't handle switching between wored and wireless interfaces, which is why I suggest a network manager. That could be NetworkManager, but you could equally use Wicd. Both are in portage. Alternatively, you could just set up the two interfacs in /etc/conf.d/net and switch between them by starting and stopping /etc/init.d/net.{eth0,wlan0}. It depends on how automatic you want it. Ok, I tried to emerge networkmanger and it tries to pull a bunch of dependencies which I do not need, e.g. x11-proto, x11-libs. I already set use flag to -X because for now I will be happy with console mode, but it still tries to pull them. How do I tell portage not emerge unneeded dependencies? Thanks You tell portage to not pull in unneeded dependencies by setting the appropriate USE flags. The people you are asking for assistance will determine this by reading the ebuild, or by using the appropriate portage tools to figure it out. You should start learning these skills yourself so you can answer your own questions. 1. Run eix-e networkmanager. There is nothing there related to x11. 2. Read the ebuild for networkmanager-1.0.0. There is nothing in there related to x11, so that's not it. 3. Run emerge -pvt networkmanager. This will give an indented view of what is pulling in what. Find the entries of x11-proto etc and see what is pulling them in. Investigate those packages to disable x11. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 13:52:02 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On 11/03/2015 13:40, German wrote: wpa_supplicant doesn't handle switching between wored and wireless interfaces, which is why I suggest a network manager. That could be NetworkManager, but you could equally use Wicd. Both are in portage. Alternatively, you could just set up the two interfacs in /etc/conf.d/net and switch between them by starting and stopping /etc/init.d/net.{eth0,wlan0}. It depends on how automatic you want it. Ok, I tried to emerge networkmanger and it tries to pull a bunch of dependencies which I do not need, e.g. x11-proto, x11-libs. I already set use flag to -X because for now I will be happy with console mode, but it still tries to pull them. How do I tell portage not emerge unneeded dependencies? Thanks You tell portage to not pull in unneeded dependencies by setting the appropriate USE flags. The people you are asking for assistance will determine this by reading the ebuild, or by using the appropriate portage tools to figure it out. You should start learning these skills yourself so you can answer your own questions. 1. Run eix-e networkmanager. There is nothing there related to x11. eix-e: command not found. What to do? 2. Read the ebuild for networkmanager-1.0.0. There is nothing in there related to x11, so that's not it. 3. Run emerge -pvt networkmanager. This will give an indented view of what is pulling in what. Find the entries of x11-proto etc and see what is pulling them in. Investigate those packages to disable x11. -- Alan McKinnon alan.mckin...@gmail.com -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
Op woensdag 11 maart 2015 08:03:06 schreef German: eix-e: command not found. What to do? Insert a space between eix and -e.
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 11:15:06 + Neil Bothwick n...@digimed.co.uk wrote: On Wed, 11 Mar 2015 05:48:08 -0400, Fernando Rodriguez wrote: On Wednesday, March 11, 2015 5:19:32 AM German wrote: Hi. I was said that I need network manager to control my interfaces. What package should I emerge? I am in console mode. Is that ncurses based or command line? Any other pointers on how this can be configured are welcome. Thanks net-misc/networkmanager It comes with CLI tools but it's usually used with a frontend GUI. See http://wiki.gentoo.org/wiki/NetworkManager#NetworkManager_GUI_bits_in_GTK For KDE I use kde-misc/plasma-nm. If you don't have a desktop it propably makes more sense to just use wpa_supplicant directly. wpa_supplicant doesn't handle switching between wored and wireless interfaces, which is why I suggest a network manager. That could be NetworkManager, but you could equally use Wicd. Both are in portage. Alternatively, you could just set up the two interfacs in /etc/conf.d/net and switch between them by starting and stopping /etc/init.d/net.{eth0,wlan0}. It depends on how automatic you want it. Ok, I tried to emerge networkmanger and it tries to pull a bunch of dependencies which I do not need, e.g. x11-proto, x11-libs. I already set use flag to -X because for now I will be happy with console mode, but it still tries to pull them. How do I tell portage not emerge unneeded dependencies? Thanks -- Neil Bothwick Therapy is expensive, popping bubble wrap is cheap! You choose. -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 13:12:04 +0100 Paul Klos gen...@klos2day.nl wrote: Op woensdag 11 maart 2015 08:03:06 schreef German: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found -- German gentger...@gmail.com
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 08:14:13 -0400, German wrote: eix-e: command not found. What to do? Insert a space between eix and -e. Same result - command not found emerge eix, then run eix-update as root. -- Neil Bothwick Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it. pgpRbkrWGHLha.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, Mar 11, 2015 at 5:18 PM, Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Wednesday, March 11, 2015 4:15:53 PM Tom H wrote: I've never used nmcli except to get ip information (see below) but setting up NM without a gui is simple. This is my home wifi setup: # cat /etc/NetworkManager/system-connections/thsky [connection] id=thsky uuid=e03d75e4-043a-4276-bf03-3995270ec891 type=802-11-wireless [802-11-wireless] ssid=myssidname mode=infrastructure security=802-11-wireless-security [802-11-wireless-security] key-mgmt=wpa-psk psk=myssidpassword [ipv4] method=manual address1=192.168.1.11/24,192.168.1.1 dns=192.168.1.111 [ipv6] method=link-local Did you find that documented somewhere or did you use an UI to create the file originally? What about when you need one of the many features that this simple example doesn't cover (like permissions)? what is the guid? It is hard. I first started creating these connections by reading a page on freedesktop.org that had the same info as what you now get with man nm-settings. The latter might even have existed at the time... I haven't tested this in a while but in the past you needed one of id and uuid. The uuid is easily generated with uuidgen. When I started using NetworkManager I had hell trying to modify that file manually because plasma-nm ask for root password when modifying system wide connections but it doesn't save the changes (the solution was to run nm- connection-editor manually as root). The same applies to nmtui and it only covers a few options. I don't remember exactly what needed to be changed in the file but it wasn't intuitive. There's a famous rant by Linus about having to provide the root password in order to join a network. I've never used KDE so I have no idea about which gui applet to use and how/why settings are saved and I've never used nmtui but I suspect (unless it was a specific NM bug at the time) that it was a problem with the polkit settings like Linus' problem.
Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
On Wed, 11 Mar 2015 09:16:04 -0400, German wrote: emerge eix, then run eix-update as root. Ok, done that. Indeed there are anything related to x11-lib, but when I do emerge --ask net-misc/networkmanager I see x11-proto and x11-libs to be emerged. Use variable is set to -X. Anyone can shed a light on this? How can I emerge networkmanager without X dependencies? Alan's already told you what to do, use the -tree option with emerge to see what pulls in the x11 packages. Then check the USE flags for them. -- Neil Bothwick A man needs a mistress - just to break the monogamy pgptnYCCCGGQX.pgp Description: OpenPGP digital signature
[gentoo-user] best practise for 4 disks ... redundancy
greetings again yesterday I received a shiny new server for a client. It brings 4 x 1 TB SATA disks, is capable of UEFI and I started setting it up. GPT partitioning, small partition(s) for the ESP, some swap, and bigger partitions of type fd=raid for creating 2 mdadm-raids (rootfs and data) with level 6. ok so far. Then I spent some hours fiddling with grub2, gummiboot et al to get that box booting up fine. dracut doesn't assemble the rootfs-raid etc etc ... - fun What the question is in general: even if I manage to have it booting via UEFI from /dev/sda1 or so ... I still have this single point of failure as the vfat-partitioned ESP is on one physical disk only. I would like to set it up in a way that it boots even when the /dev/sda dies ... Maybe I have to go the BIOS way and have an ext2-boot-raid1 over 4 disks/partitions? I did that on other servers back then. What is the up-to-date and recommended way of achieving this? How do you gentoo-users do these things? I am still at the start with this server and don't mind backing up the rootfs and start from scratch with partitioning ;) Thanks, Stefan
Re: [gentoo-user] Re: External HDD: sector size incorrectly detected on first connect
Am Tue, 10 Mar 2015 17:38:03 -0700 schrieb walt w41...@gmail.com: On 03/10/2015 10:12 AM, Marc Joliet wrote: is there a specialised ML for the Linux USB stack? Yes, I follow it on gmane.org as gmane.linux.usb.general (not sure what the real name of the mailing list is) and Sarah Sharp is the xhci driver maintainer. She was very helpful and patient when I was having similar and quirky problems with my usb3 adapter, and it did turn out to be a driver bug. And such quirks can be very much device-specific. I would not want Sarah's job, but I'm glad she does :) OK, I'll follow up there, then. Thanks -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup pgpO5j3mFsi7B.pgp Description: Digitale Signatur von OpenPGP