Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rimuovere interfaccia di rete Ham0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Wed Oct 24, 2007 12:22 pm    Post subject: Rimuovere interfaccia di rete Ham0 Reply with quote

Ragazzi ho installato Hamachi per provare il suo funzionamento.
Ora l'ho disinstallato, ma facendo
Code:
ifconfig
rimane l'interfaccia di rete Ham0.
Come posso fare x rimuoverla??
Grazie.
Andrea
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Wed Oct 24, 2007 4:24 pm    Post subject: Reply with quote

penso che devi blacklistare il modulo kenrel o rimuoverlo a mano con rm
Back to top
View user's profile Send private message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Wed Oct 24, 2007 7:04 pm    Post subject: Reply with quote

Come si fa?
Potete spiegarmi ??
Grazie.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Wed Oct 24, 2007 7:57 pm    Post subject: Reply with quote

prima di tutto bisogna vedere qual'è il modulo a blacklistare
per questo vai in root in consola e fai:
Code:
lsmod

individui il modulo di hamachi...
poi non sono sicuro del percorso ma penso che devi creare la directoria /etc/modprobe.d/ e creare un file chiamato blacklist dentro
poi devi editare il file con nano o qualunque text editor e aggiungere il nome del modulo che hai trovato
Code:
mkdir /etc/modprobe.d/
nano /etc/modprobe.d/blacklist
Back to top
View user's profile Send private message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Mon Oct 29, 2007 3:16 pm    Post subject: Reply with quote

Tra questi come faccio a individuare il modulo di Hamachi?
Code:
# lsmod
Module                  Size  Used by
nf_nat_tftp             5632  0
nf_nat_irc              6272  0
nf_nat_amanda           6016  0
nf_conntrack_amanda     7936  1 nf_nat_amanda
nf_conntrack_tftp       8852  1 nf_nat_tftp
nf_conntrack_irc        9496  1 nf_nat_irc
xt_physdev              6416  0
xt_CLASSIFY             5760  0
w83627hf               24852  0
hwmon_vid               6400  1 w83627hf
k8temp                  8192  0
hwmon                   6532  2 w83627hf,k8temp
i2c_nforce2             8832  0
i2c_core               22272  1 i2c_nforce2

Grazie ancora.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Mon Oct 29, 2007 4:37 pm    Post subject: Reply with quote

no lo so...dunque proviamo un altra soluzione:
re-installi Hamachi
poi apri una consola e fai
Code:
equery files hamachi


vedi tutte i file di hamashi
ti do un esempio:
Code:

# equery files rt2500
[ Searching for packages matching rt2500... ]
* Contents of net-wireless/rt2500-1.1.0_pre2007071515:
/etc
/etc/modules.d
/etc/modules.d/rt2500
/lib
/lib/modules
/lib/modules/2.6.20-gentoo_sempron_2500
/lib/modules/2.6.20-gentoo_sempron_2500/net
/lib/modules/2.6.20-gentoo_sempron_2500/net/rt2500.ko
/usr
/usr/share
/usr/share/doc
/usr/share/doc/rt2500-1.1.0_pre2007071515
/usr/share/doc/rt2500-1.1.0_pre2007071515/CHANGELOG.bz2
/usr/share/doc/rt2500-1.1.0_pre2007071515/FAQ.bz2
/usr/share/doc/rt2500-1.1.0_pre2007071515/README.bz2
/usr/share/doc/rt2500-1.1.0_pre2007071515/TESTING.bz2
/usr/share/doc/rt2500-1.1.0_pre2007071515/THANKS.bz2
/usr/share/doc/rt2500-1.1.0_pre2007071515/iwpriv_usage.txt.bz2


vedi questo (lo individui perche e un file che finisce con .ko):
Code:
/lib/modules/2.6.20-gentoo_sempron_2500/net/rt2500.ko

dunque qui devi blacklistare rt2500....
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Mon Oct 29, 2007 5:45 pm    Post subject: Reply with quote

si puo' anche semplicemente cancellare....
Back to top
View user's profile Send private message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Wed Oct 31, 2007 10:18 am    Post subject: Reply with quote

Nessun file .ko trovato. :(
Code:
# equery files hamachi
[ Searching for packages matching hamachi... ]
* Contents of net-misc/hamachi-0.9.9.9_p20-r2:
/etc
/etc/conf.d
/etc/conf.d/hamachi
/etc/init.d
/etc/init.d/hamachi
/etc/init.d/tuncfg
/usr
/usr/bin
/usr/bin/hamachi
/usr/bin/hamachi-init -> /usr/bin/hamachi
/usr/sbin
/usr/sbin/tuncfg
/usr/share
/usr/share/doc
/usr/share/doc/hamachi-0.9.9.9_p20-r2
/usr/share/doc/hamachi-0.9.9.9_p20-r2/CHANGES.bz2
/usr/share/doc/hamachi-0.9.9.9_p20-r2/LICENSE.bz2
/usr/share/doc/hamachi-0.9.9.9_p20-r2/LICENSE.openssh.bz2
/usr/share/doc/hamachi-0.9.9.9_p20-r2/LICENSE.openssl.bz2
/usr/share/doc/hamachi-0.9.9.9_p20-r2/LICENSE.tuncfg.bz2
/usr/share/doc/hamachi-0.9.9.9_p20-r2/README.bz2
/var
/var/log
/var/log/hamachi
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Wed Oct 31, 2007 11:15 am    Post subject: Reply with quote

ma scusa invce che cercare in giro per il sistema a caso, entra in /lib/mosules/nome_kernel/ e cerca li dentro il driver della scheda di rete fittizia e rimuovilo... non muore mica nessuno. nel caso ti riserva ti basta riemergere i pacchetti.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum