get hardware info through lspci

2009-06-04 Thread Michael Casey
I've recently read:

Linux Find Out If PCI Hardware Supported or Not In The Current Running
Kernelhttp://www.cyberciti.biz/tips/linux-find-supported-pci-hardware-drivers.html

So, if I:

grep 27d8 /lib/modules/$(uname -r)/modules.pcimap

and see this:

snd-hda-intel0x8086 0x27d8 0x 0x 0x
0x 0x0

then it's sure that my PCI Hardware is supported? I Don't need anything to
do?
Is there a way for lsusb too?
How could I know that my hardware (connected to my pc or not) is supported?
- sorry for asking this: but is there a devmgmt.msc (windows..) like
software, solution under Linux, where can I see that is my pc's hardwares
recognized correctly?

Thank you
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: ipv6 question

2009-06-01 Thread Michael Casey
off:

So, could it be reality, that the next-generation Linux Distro's e.g.:
iptables will Default not ACCEPT, rather then this:

iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

+ allow ICMP on INPUT because I heard/read that IPv6 relies more on ICMP


it could make a good standard firewall (?FIXME) - if anyone puts any
server service, than he must know that he must change the INPUT XYZ

sorry for just stating these kind of things :D just thinking..

I only seen a few distros, but they policy were default ACCEPT everywhere :O

/off
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

ipv6 question

2009-05-31 Thread Michael Casey
Hi

I just want to ask one big question :)

If I would have an IPv6 address [home pc, behind a router - supporting ipv6
e.g.: openwrt, ISP gives ipv6], then I can see an IPv6 address with
ifconfig, on the PC e.g.: Z
So that's my very unique address. - Z

Can that be seen on the internet, the Z address? so anyone can ping me
from outside, or do an nmap?

Or are there private addresses what the router gives to my pc.: eg.: with
ipv4 a router could give 192.168.1.10... and that IP couldn't be
pinged/nmapped from outside (More Secure???)
Because I heard that there will be no NAT with IPv6?

What will happen to e.g.: a windows xp pc using IPv6? The C$, D$
shares will be visible to anyone if they know the password?
sorry for the trivial question... :S :) and thank you for any answer
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: cd to folder with spaces - in a script

2009-05-24 Thread Michael Casey
I used it for this:

http://pastebin.ca/1432758

generating m3u files for each subfolder too
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

cd to folder with spaces - in a script

2009-05-21 Thread Michael Casey
How can I cd into a dir, when it contains spaces, and I need to use it in a
script?

the directory:
/home/user/this is a folder/something

normally I would use:
cd /home/user/this\ is\ a\ folder/something/

but in a script I cant just add the \
like:

find . -type d | while read FOLDER; do cd $FOLDER; done
$ No such file or directory

the problem is, that there would be more special chars then spaces, sed
them all? :D

Thank you
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: cd to folder with spaces - in a script

2009-05-21 Thread Michael Casey
yeah, SOLVED: :))

clear; find . -type d | while read FOLDERNAME; do $(cd $FOLDERNAME); done

Thank you!!
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

if no NFS server clients are waiting..

2009-05-14 Thread Michael Casey
What can I do, If the NFS server is rebooting/offline?
I mean the clients just wait and wait and wait...

I tried to set

timeo=5,retrans=2

mount options when mounting nfs in fstab on client side =
still no luck, clients are just waiting...
Can I set a timeout somewhere? :D

Thank you for any tips
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: if no NFS server clients are waiting..

2009-05-14 Thread Michael Casey
I tried ls --color=never
https://bugzilla.redhat.com/show_bug.cgi?id=468049
it still waits

I tried on the client side with other mount options: intr, soft
it still waits


update :D :
I turn the NFS server down
Clients hang
reboot client
client cant see the NFS share, but at least it doesn't wait's for it
I start the NFS server
reboot client
It can see the shares again

Client's are Lenny's

ps.: amm...the nfs server is really an unfs3 server in an openwrt kamikaze
8.09 router... :) :S
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: if no NFS server clients are waiting..

2009-05-14 Thread Michael Casey
the fstab entry is this

vim /etc/fstab
192.168.1.1:/mnt/share/ /home/user/Desktop/Share/ nfs
defaults,ro,nfsvers=3,nolock 0 0
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: if no NFS server clients are waiting..

2009-05-14 Thread Michael Casey
I tried
defaults,ro,nfsvers=3,nolock,soft,retrans=6
but clients still hangs

the router runs 24h a day, so unless unfs3 dies, or the UTP cable get
chopped it will be good :D if it does, then client reboot :D

I turn the NFS server down
Clients hang
Reboot client
client cant see the NFS share, but at least it doesn't wait's for it
I start the NFS server
reboot client
It can see the shares again


thank you everyone for helping!
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines