Linux-magazine.it Forum
Maggio 20, 2013, 01:10:33 am *
Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?
 
Pagine: [1]   Vai giù
  Stampa  
Autore Discussione: problema di configurazione rete su slackware...  (Letto 1766 volte)
0 utenti e 1 Utente non registrato stanno visualizzando questa discussione.
robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« inserita:: Agosto 20, 2010, 01:49:04 am »

salve ragazzi...
era un po che non mi facevo sentire,ne tantomeno vi ho seguito!!

cmq ritorno da voi a causa di un piccolo problema di rete su slackware...
ho installato il sistema operativo in giornata,e dopo le prime configurazioni ho avuto qualche impiccio nel configurare la rete wireless..quindi per capirci comincio a postare qualche comando che vi aiuta a capire...

iwconfig
Codice:
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abg  ESSID:"Anarchia"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:06:4F
          Bit Rate=1 Mb/s   Tx-Power=15 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:AE02-663D-5CC9-D4C2-23D6-F2CD-E8D5-F7A6-21
          Power Management:off
          Link Quality=61/100  Signal level:-71 dBm  Noise level=-1
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

come vedete mi connetto all'acces point, ma non riesco a navigare...


ifconfig
Codice:
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:632 (632.0 B)  TX bytes:632 (632.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:18:de:4e:8b:46 
          inet addr:192.168.1.17  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::218:deff:fe4e:8b46/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:862 (862.0 B)  TX bytes:1401 (1.3 KiB)

wmaster0  Link encap:UNSPEC  HWaddr 00-18-DE-4E-8B-46-77-6C-00-00-00-00-00-00-00-00 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

e questo il file di configurazione /etc/rc.d/rc.inet1.conf

Codice:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
#IPADDR[0]="192.168.1.13"
#NETMASK[0]="255.255.255.0"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="192.168.1.1"

# Change this to "yes" for debugging output to stdout.  Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

## Example config information for wlan0.  Uncomment the lines you need and fill
## in your data.  (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
IPADDR[4]="192.168.1.17"
NETMASK[4]="255.255.255.0"
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=Anarchia
#WLAN_MODE[4]=Managed
#WLAN_RATE[4]="54M auto"
#WLAN_CHANNEL[4]="auto"
#WLAN_KEY[4]=""
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set
#WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="wext"
#WLAN_WPAWAIT[4]=30

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0"              # Use a different interface name instead of
                                # the default 'eth4'
#IFNAME[4]="eth0:1"             # Set up an IP alias.
#HWADDR[4]="00:18:de:4e:8b:46"  # Overrule the card's hardware MAC address
#MTU[4]=""                      # The default MTU is 1500, but you might need
                                # 1360 when you use NAT'ed IPSec traffic.
#DHCP_TIMEOUT[4]=15             # The default timeout for the DHCP client to
                                # wait for server resonse is 10 seconds, but
                                # you might want a shorter or longer wait.
#DHCP_KEEPRESOLV[4]="yes"       # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes"          # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes"           # If you don't want the DHCP server to change
                                # your default gateway
#DHCP_IPADDR[4]=""              # Request a specific IP address from the DHCP
                                # server
#DHCP_DEBUG[4]="yes"            # Make dhcpcd show verbose diagnostics
#DHCP_NOIPV4LL[4]="yes"         # Do not assign an ipv4ll address when a DHCP
                                # server is not found (ipv4ll link-local
                                # adresses in the IP range 169.254.0.0/16 are
                                # also known as "zeroconf" addresses)
WLAN_ESSID[4]="Anarchia"         # An example of how you can override _any_
                                # parameter defined in rc.wireless.conf, by
                                # prepending 'WLAN_' to the parameter's name.
                                # Useful with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
                                # Some drivers require a private ioctl to be
                                # set through the iwpriv command. If more than
                                # one is required, you can place them in the
                                # IWPRIV parameter (separated with the pipe (|)
                                # character, see the example).
WLAN_WPA[4]="wpa_supplicant"   # Run wpa_supplicant for WPA support
#WLAN_WPADRIVER[4]="ndiswrapper"# Tell wpa_supplicant to specifically use the
                                # ndiswrapper driver (if you leave this empty
                                # the 'wext' driver is used by default)
#WLAN_WPAWAIT[4]=30             # In case it takes long for the WPA association
                                # to finish, you can increase the wait time
                                # (defaults to 10 seconds)


e come vedete pingo il router,ma non la rete...
Codice:
64 bytes from 192.168.1.1: icmp_seq=5 ttl=60 time=1.88 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=60 time=1.44 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5009ms
rtt min/avg/max/mdev = 1.203/1.413/1.888/0.228 ms



un saluto a tutti voi
grazie a presto

Registrato
robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #1 inserita:: Agosto 20, 2010, 02:25:52 pm »

ho risolto...
mancavano semplicemente i dns...
tuttavia ho ancora qualche problemino,non riesco a impostare la lingua italiana....
in pratica cerco di aggiungerla con
Codice:
LANG="it_IT.UTF-8"
ma poi sono sempre allo stesso punto poichè i locales risltano essere sempre:
Codice:
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=C
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
Registrato
michele.p
Administrator
Hero Member
*****

Karma: +54/-45
Scollegato Scollegato

Messaggi: 7283



Mostra profilo
« Risposta #2 inserita:: Agosto 20, 2010, 03:17:54 pm »

Quale file stai cercando di modificare?

P.S.: E' scritto, come fare, nel libro S4d scaricabile da slacky.eu

Bye   Fico
Registrato

robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #3 inserita:: Agosto 20, 2010, 03:56:33 pm »

sto utilizzando xfce4 come desktop ma è tutto in inglese...
vorrei che diventasse in italiano
cmq ora do un'occhiata al libro di cui parli....

ciao
Registrato
michele.p
Administrator
Hero Member
*****

Karma: +54/-45
Scollegato Scollegato

Messaggi: 7283



Mostra profilo
« Risposta #4 inserita:: Agosto 20, 2010, 09:08:14 pm »

Hai fatto una installazione full dal DVD di installazione, oppure hai scelto singolarmente i vari pacchetti?

Bye  Fico
Registrato

robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #5 inserita:: Agosto 21, 2010, 02:27:37 am »

ho fatto un'installazione full...
e ho risolto per quanto riguarda la lingua inglese,ora è in italiano
ed ho dovuto modificare questi file
Codice:
/etc/profile.d/lang.sh
sostituendo
export LANG=us_US
con
export LANG=it_IT@euro

e poi il file /etc/profile.d/lang.csh
sostituendo
setenv LANG=us_US
con
setenv LANG=it_IT@euro

tuttavia il desktop è diventato in italiano ma i programmi sono rimasti tutti in inglese...
credo che dovrei installare il pacchetto kde|ln10-it (non ricordo esattamente il nome) ma non so ne dove trovarlo ne come instalarlo...cmq sto cercando di seguire un po quel libro che mi hai consigliato...

ciao
Registrato
michele.p
Administrator
Hero Member
*****

Karma: +54/-45
Scollegato Scollegato

Messaggi: 7283



Mostra profilo
« Risposta #6 inserita:: Agosto 21, 2010, 11:13:30 pm »

Il pacchetto sta nel DVD di installazione in:

/slackware/kdei/

e si chiama kde-I10n-it. Se hai installato Koofice nella stessa cartella tropverai il file per la localizzazione in Italiano: koffice-I10n-it

Bye  Fico
Registrato

robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #7 inserita:: Agosto 23, 2010, 12:53:03 am »

bene,
sono riuscito nelle prime configurazioni,ovvero italianizzare il sistema,creare l'utente,impostare l'audio e l'installazione dei programmi...
ma ho una piccola curiosità...
so che qui si possono usare anche dei repository,ma sono attendibili e funzionali?

grazie
ciao
Registrato
michele.p
Administrator
Hero Member
*****

Karma: +54/-45
Scollegato Scollegato

Messaggi: 7283



Mostra profilo
« Risposta #8 inserita:: Agosto 23, 2010, 10:47:41 pm »

Si, in genere sono tutti attendibili: Ad esempio quelli di www.slacky.eu e quelli miei  Ghigno http://elettrolinux.com ...ve ne sono molti altri listati qui:

http://slak.homelinux.org/

al momento, però, è in fase di aggiornamento.

Bye  Fico
Registrato

robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #9 inserita:: Agosto 25, 2010, 02:17:22 am »

ma un giorno il tuo sito lo farai diventare italiano!?
cmq adesso mi informo su come impostare i repository,poi casomai ho problemi mi faccio sentire...

ciao e grazie per l'aiuto...
Registrato
michele.p
Administrator
Hero Member
*****

Karma: +54/-45
Scollegato Scollegato

Messaggi: 7283



Mostra profilo
« Risposta #10 inserita:: Agosto 25, 2010, 10:05:59 pm »

Citazione
ma un giorno il tuo sito lo farai diventare italiano!?
...boooh...  Che?!?

Citazione
cmq adesso mi informo su come impostare i repository,
...l'impostazione è in parte scritta sul mio sito - http://elettrolinux.com/download-section.html - per il mio repositorio. Per altri repository la sostanza non cambia. Su S4d trovi l'esempio di slacky.eu. Tieni presente che tra questi non è presente il tool slackpkg che puoi trovare in questa discussione:

http://www.slacky.eu/forum/viewtopic.php?p=286567#p286567

Io farò l'aggiornamento al mio sito (elencando anche la 13.1) e inserirò slackpkg penso nelle prossime ore o nel giro di un paio di giorni.

Bye  Fico
Registrato

Pagine: [1]   Vai su
  Stampa  
 
Vai a:  


Powered by SMF 1.1.9 | SMF © 2006-2007, Simple Machines LLC -->