how to specify IP not equal to in iptables rules ????
by Jatin K
Dear All Gurus,
I want to deny a particular IP (172.16.158.111) address in my network to
FTP on server (RHEL6), I'm trying to add the following[1][2] iptabls
rules on server and getting error [3]
[1] iptables -A INPUT -s! 172.16.158.111 -p tcp --dport 21 -j DROP
[2] iptables -A INPUT -s! 172.16.158.111 -p tcp --dport 20 -j DROP
[3] Using intrapositioned negation (`--option ! this`) is deprecated in
favor of extrapositioned (`! --option this`).
if I try following [4] it throws error like " bash: !172: event not
found " (I think it tries to recall a command from history ..may be not
sure )
[4] iptables -A INPUT -s !172.16.158.111 -p tcp --dport 21 -j DROP
So how to go ...??? and any one guide to the right direction ????? how
do I add a rule like IP or the PORTs is not equal to ?
Warm Regards
°v°
/(_)\
^ ^ Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$
12 years, 10 months
no sound on cf15 but yes system sound
by Zoran Spasojevic
I just installed FC15 with the latest updates.
I am using M-Audio audiofile 2494.
I get the system notifications sound but none of the audio or video
applications produces sound.
I tried using alsamixe and considered various suggestions I read on
these lists but still don't have sound..
When I try system settings > Multimedia and click on "test sound"
button, the reply I get is that the sound card
does not work and it seems that it can not be detected by pulseaudio or
various other applications.
Thanks in advance for any help.
zoran
12 years, 10 months
Accessing MS Exchange 5.5 mailbox from Fedora 15
by Kevin Wilson
Hello,
Is there a way to access MS Exchange 5.5 mail server from Fedora 15?
I saw that for previous versions of Evolution there was a plugin called
evolution-brutus plugin - for exchange 5.5 server
but from what I found, this plugin is not available for fedora 15.
I also tried with thunderbird, but I did not find out how.
I want to add that I don't need to sync a calander, only to read mail.
another thing is, a solution which will enable me to only read mail
(and not send) is also
good for me.
Rgs,
Kevin
12 years, 10 months
powertop questions
by Reindl Harald
hi
has anybody an idea how to optimize the "Runtime PM" settings where "powertop"
says bad? "pcie_aspm=force" as kernel-param is set
System: Fedora 15 x86_64, Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Important:
I search generic options which would be active on shared configurations
because there are two machines with little different hwardware
Bad Enable SATA link power management for /dev/sda
Bad Autosuspend for USB device USB Keyboard [NOVATEK]
Bad Autosuspend for USB device USB2.0-CRW [Generic]
Bad Autosuspend for USB device USB-PS/2 Optical Mouse [Logitech]
Bad Runtime PM for PCI Device Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller
Bad Runtime PM for PCI Device Intel Corporation Sandy Bridge DRAM Controller
Bad Runtime PM for PCI Device Intel Corporation Sandy Bridge PCI Express Root Port
Bad Runtime PM for PCI Device Intel Corporation Sandy Bridge Integrated Graphics Controller
Bad Runtime PM for PCI Device Intel Corporation 82579LM Gigabit Network Connection
Bad Runtime PM for PCI Device Intel Corporation Cougar Point High Definition Audio Controller
Bad Runtime PM for PCI Device Intel Corporation Cougar Point PCI Express Root Port 1
Bad Runtime PM for PCI Device Intel Corporation Cougar Point PCI Express Root Port 5
Bad Runtime PM for PCI Device Intel Corporation Cougar Point PCI Express Root Port 7
Bad Runtime PM for PCI Device NEC Corporation uPD720200 USB 3.0 Host Controller
Bad Runtime PM for PCI Device Intel Corporation 82574L Gigabit Network Connection
Bad Runtime PM for PCI Device Intel Corporation Cougar Point USB Enhanced Host Controller #1
Bad Runtime PM for PCI Device Intel Corporation Cougar Point USB Enhanced Host Controller #2
Bad Runtime PM for PCI Device Intel Corporation Cougar Point 6 port SATA AHCI Controller
Bad Runtime PM for PCI Device Intel Corporation Cougar Point SMBus Controller
Bad Runtime PM for PCI Device Intel Corporation Cougar Point PCI Express Root Port 8
Bad Wake-on-lan status for device eth0
Good NMI watchdog should be turned off
Good VM writeback timeout
Good Autosuspend for USB device xHCI Host Controller [usb3]
Good Autosuspend for unknown USB device 1-1 (8087:0024)
Good Autosuspend for unknown USB device 2-1 (8087:0024)
Good Autosuspend for USB device EHCI Host Controller [usb1]
Good Autosuspend for USB device EHCI Host Controller [usb2]
Good Wake-on-lan status for device eth1
12 years, 10 months
how with export printers from remote session?
by Franta Hanzlík
Can someone recommends any solution for remote desktop connection
(both side would be F14+ distros), which is able export remote
printer(s) to connecting side? It shall be, if possible, working
over relatively slow links (256+ kbps, e.g. xDSL).
What I catch on, this should be able do with nx/freenx+freenx-server,
maybe with rdesktop/xfreerdp+xrdp, but I never tried these. Or are
there other solutions?
Has somebody personal experience with this ?
Thanks in advance, Franta Hanzlik
12 years, 10 months
Re: Gnome 3 ~ Windows 8?
by Roelof 'Ben' Kusters
Hi There,
This discussion will be an endless one - as there will always be people
who don't like it; and people who do. Change always hurts, because you
need to learn computing anew. And it's difficult for many to be humble
enough to say you don't know how to do it - if you already know how to do
it somewhere else.
> One thing is sure: Your new user-base will not be your current (old)
> user-base.
Well, there will be overlap. I liked Gnome2, I adore Gnome3. It is where
computing is going, like it or not. What we now know as desktops will in
the not so very distant future be used only for servers and other large
storage devices. Computing will be entirely mobile, and envision a little
device on your collar (possibly in combination with glasses, but
preferably without) that reads and responds to your arm movements, and
projects your computing environment in front/around you. A keyboard will
no longer be a physical thing, it'll be projected on the surface in front
of you... Gnome3 is - although far from there - going in that direction.
It is - like stated elsewhere - very suitable for PADs (I call them
tablets, but whatever). On Desktops it's very possible to multitask btw,
as long as you have a rather wide display... Then you don't need
everything full screen. :)
The movements needed for use of Gnome3 are very much Grab and Drag. I can
see myself doing this sitting in the garden with a matchbox strapped to my
collar...
Meanwhile, many things do indeed need to change, or at least be improved
in Gnome3 (Fedora 15 is my only reference). Indeed, Power Off (Shut Down,
whatever you wish to call it) needs to be there standard - and not through
a plugin (btw, yes, there's the Are you Sure option, where you can also
decide to reboot).
I'm looking for a better notification/taskbar equivalent. Right now, only
the program on top is shown. More space needs to be made for more open
programs. For example, I use XChat while gaming. There is no notification
what so ever when there's activity on the chat channel - because there's
no space for anything to blink.
And there are more things, but they've been repeated ad nausea (is that
the spelling) so I won't do it here.
> I'd expect people, who are attracted by the kind of GUI, Gnome 3 tries
> to implement, to choose the original, i.e. Apple, Microsoft or Google's
> products over Gnome 3 (which means them not ot use Linux).
There certainly will be some going that way. I am not, and I know a few
people who are with me.
P.S. Sorry, this mail took overnight to compose; a crying kid can be
awfully distracting. :)
--
Greetz,
Roelof Kusters
aka Ben
The internet isn't a highway, it's a swamp: the more you surf, the more it
draws you in.
Make 1000 euros in minutes! Sell my house: http://www.bentrein.com/house
12 years, 10 months
syslog daemon facilty
by Maurizio Marini
One of the first thing u note coming from debian, is that tailing for
daemon doesn't tail anything :)
I wonder why redhat never used /var/log/daemon.log ad syslog daemon
facility; this is not an issue of course, i add it, this is only an historical
question :)
m.
12 years, 10 months
An elementary question on LANs
by Timothy Murphy
What exactly sets up the correspondence between interfaces and LANs,
eg (in my case) eth1 <-> 192.168.2.0 ?
I don't see any file in /etc/sysconfig , say,
where this is specified.
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
12 years, 10 months