Re: [gentoo-user] iptables: how can I include multiple hosts/IPs in -s and -d?

2010-04-09 Thread Stefan Schulte
Hi, you can define a rule like that: iptables -A FORWARD -s 192.168.235.43,192.168.235.46 -d 10.0.0.1,192.168.0.1 -j ACCEPT it will create 4 rules. be sure to activate Networking support-Networking options-Network packet filtering framework-Core Netfilter Configuration-iprange address range

[gentoo-user] Setting up WLAN and VPN the right way

2010-03-18 Thread Stefan Schulte
Hi at all, I'm trying to setup VPN on my Laptop but I'm stuck. When I'm at the university I have to connect to their WLAN and then setting up a VPN-Connection. All packets should take the VPN-tunnel. Here's what I've got so far: 1) W-LAN connection works and I get an ip, default route and

Re: [gentoo-user] Resizing ntfs creates a hidden partition

2010-02-20 Thread Stefan Schulte
Hi Mick, AFAIK the asterisk behind the partition just indicates, that it is not aligned to a cylinder boundary. I think this doesnt have any effect (or maybe some old OS like DOS depend on it). If you use cfdisk for partitioning you can avoid that by given the space in c(ylinders). e.g. New

Re: [gentoo-user] binutils broken revdep-rebuild

2010-02-04 Thread Stefan Schulte
On Thu, Feb 04, 2010 at 09:58:42AM +0100, Mariusz Ceier wrote: W dniu 04.02.2010 08:15, Steven pisze: I am having a recurring error for the last few weeks revdep-rebuild -p * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing

Re: [gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread Stefan Schulte
Hi Jarry, searching for softlinks is pretty easy: find / -type l If my understanding of hardlinks is correct you cannot say which file is the original and which file is the link. Both inodes just point to the same datablocks. But you can identify those files by checking the linkcount. find /

Re: [gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread Stefan Schulte
, Feb 03, 2010 at 10:02:37PM +0200, Alan McKinnon wrote: On Wednesday 03 February 2010 21:43:31 Stefan Schulte wrote: Hi Jarry, searching for softlinks is pretty easy: find / -type l If my understanding of hardlinks is correct you cannot say which file is the original and which file

Re: [gentoo-user] /dev full of pty* tty* - is it normal?

2010-01-26 Thread Stefan Schulte
Looks different on my machine: # ls -l /dev/pty* | wc -l zsh: no matches found: /dev/pty* 0 # ls -l /dev/tty* | wc -l 65 It may have something to do with your kernel settings. Device Drivers-Character devices-Unix98 PTY support is enabled Device Drivers-Character devices-Legacy (BSD) PTY support

Re: [gentoo-user] Installation (or not) of Perl Getopt::Long

2009-12-26 Thread Stefan Schulte
Hi Stroller, you may also want to look at Getopt::Declare. If you dont want to do something fancy you just have to write the »program -help« page and you're done. It's not in portage but you can emerge g-cpan to install it. Stefan On Fri, Dec 25, 2009 at 04:21:53PM +, Stroller wrote: Hey,