Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]Stampante dove sei?
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
fabrym
n00b
n00b


Joined: 13 Apr 2005
Posts: 27
Location: Arezzo

PostPosted: Fri Apr 22, 2005 5:45 pm    Post subject: [RISOLTO]Stampante dove sei? Reply with quote

Non riesco a trovare la mia stampante collegata (tramite uno switch) alla porta eth0 (quella della connessione adsl).
L'indirizzo (che utilizzo con win) è 10.1.1.14 ma con CUPS non riesco a vederla.
Sicuramente sbaglierò qualche configurazione. Se utilizzo la connessione USB tutto funge.
Non c'è un modo x 'scovare' questo cavolo di stampante?

:twisted: :twisted: :twisted:
_________________
Fabry


Last edited by fabrym on Mon Apr 25, 2005 8:59 am; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Apr 22, 2005 7:20 pm    Post subject: Re: Stampante dove sei? Reply with quote

Posta un
Code:

#route -en

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fabrym
n00b
n00b


Joined: 13 Apr 2005
Posts: 27
Location: Arezzo

PostPosted: Fri Apr 22, 2005 8:14 pm    Post subject: Re: Stampante dove sei? Reply with quote

cloc3 wrote:
Posta un
Code:
#route -en



Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
83.147.65.254   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         83.147.65.254   0.0.0.0         UG        0 0          0 ppp0


In effetti non la vedo...
_________________
Fabry
Back to top
View user's profile Send private message
lan
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 215
Location: Verona, Italy (Romeo & juliet`s City)

PostPosted: Fri Apr 22, 2005 8:33 pm    Post subject: Reply with quote

pasta un
Code:

arp


otput simile aquesto:
Code:

cocaine root # arp
Address                  HWtype  HWaddress           Flags Mask            Iface
10.1.1.254               ether   00:04:ED:0C:8F:81   C                     eth0
10.1.1.1                 ether   00:0C:6E:10:26:36   C                     eth0
10.1.1.2                 ether   00:30:84:75:21:14   C                     eth0

_________________
--
http://www.giuseppe-marocchio.com
skype: l4nz0r /voice
USH team www.ush.it
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Apr 22, 2005 8:39 pm    Post subject: Re: Stampante dove sei? Reply with quote

fabrym wrote:

In effetti non la vedo...

Certo. Probabilmente dovrebbe andare con qualcosa del tipo:
Code:

#ifconfig eth0 10.1.1.2 &&  route add 10.0.0.0 eth0

Successivamente configura /etc/conf.d/net per il caricamento all'avvio come da manuale.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fabrym
n00b
n00b


Joined: 13 Apr 2005
Posts: 27
Location: Arezzo

PostPosted: Fri Apr 22, 2005 8:46 pm    Post subject: Reply with quote

lan wrote:
pasta un
Code:

arp


otput simile aquesto:
Code:

cocaine root # arp
Address                  HWtype  HWaddress           Flags Mask            Iface
10.1.1.254               ether   00:04:ED:0C:8F:81   C                     eth0
10.1.1.1                 ether   00:0C:6E:10:26:36   C                     eth0
10.1.1.2                 ether   00:30:84:75:21:14   C                     eth0


arp non riporta nessun dato:

Code:
root@tux fabry # arp
root@tux fabry #


:cry: :cry: :cry:
_________________
Fabry
Back to top
View user's profile Send private message
fabrym
n00b
n00b


Joined: 13 Apr 2005
Posts: 27
Location: Arezzo

PostPosted: Fri Apr 22, 2005 8:49 pm    Post subject: Re: Stampante dove sei? Reply with quote

cloc3 wrote:
fabrym wrote:

In effetti non la vedo...

Certo. Probabilmente dovrebbe andare con qualcosa del tipo:
Code:

#ifconfig eth0 10.1.1.2 &&  route add 10.0.0.0 eth0

Successivamente configura /etc/conf.d/net per il caricamento all'avvio come da manuale.


Io avevo configurato conf.d con
Code:
iface_eth0="up"
avendo una connessione ADSL.
A questo punto però come dovrei configurare iface per far coesistere ADSL+rete?

:roll: :roll: :roll:
_________________
Fabry
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4796
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sat Apr 23, 2005 12:51 pm    Post subject: Re: Stampante dove sei? Reply with quote

fabrym wrote:

A questo punto però come dovrei configurare iface per far coesistere ADSL+rete?

Speravo che qualcun'altro più ferrato di me prendesse in mano questo post.

Intanto, suppongo che tu sia già riuscito a vedere la stampante utilizzando il comando ifconfig che ho postato sopra.
Suppongo anche che a te serva una semplice interfaccia di rete locale, senza alcun gateway verso un router della rete locale.
In tal caso, il routing verso l'adsl dovrebbe venire configurato automaticamente dagli script di connessione.
Se tutto ciò è vero, ti dovrebbe bastare qualcosa del genere in /etc/conf.d/net:
Code:

ifconfig_eth0=(
#       "192.168.0.2 netmask 255.255.255.0"
#       "192.168.0.3 netmask 255.255.255.0"
#       "192.168.0.4 netmask 255.255.255.0"
        "10.1.1.2 netmask 255.255.255.0"
)

E naturalmente:
Code:

rc-update add net.eth0 default

Fai sapere.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fabrym
n00b
n00b


Joined: 13 Apr 2005
Posts: 27
Location: Arezzo

PostPosted: Sat Apr 23, 2005 5:07 pm    Post subject: Re: Stampante dove sei? Reply with quote

cloc3 wrote:
fabrym wrote:

A questo punto però come dovrei configurare iface per far coesistere ADSL+rete?

Speravo che qualcun'altro più ferrato di me prendesse in mano questo post.

Intanto, suppongo che tu sia già riuscito a vedere la stampante utilizzando il comando ifconfig che ho postato sopra.

Fai sapere.


Grazie per la tua disponibilita' prima di tutto.
Appena saro' rientrato in ufficio provero' quello che mi hai detto e postero' i risultati...

Ciao
_________________
Fabry
Back to top
View user's profile Send private message
fabrym
n00b
n00b


Joined: 13 Apr 2005
Posts: 27
Location: Arezzo

PostPosted: Mon Apr 25, 2005 8:59 am    Post subject: Re: Stampante dove sei? Reply with quote

cloc3 wrote:
Code:

ifconfig_eth0=(
#       "192.168.0.2 netmask 255.255.255.0"
#       "192.168.0.3 netmask 255.255.255.0"
#       "192.168.0.4 netmask 255.255.255.0"
        "10.1.1.2 netmask 255.255.255.0"
)
Fai sapere.


L'ho inserito e questo è il report:

Code:
# route -en
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
83.147.65.254   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
10.1.1.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         83.147.65.254   0.0.0.0         UG        0 0          0 ppp0


.....



ED ORA FA!!!!!

G R A Z I E E E ! ! !
_________________
Fabry
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