Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-10 Thread Fabrizio Chierzi
Hi Ivan ... If you are interested to compile gcc you can follow these pieces of advice ... They are for Open Solaris but still valid ... Good Luck http://www.dev-eth0.de/compile-gcc-4-on-opensolaris/ Fabrizio Chierzi 2012/9/10 James Carlson > On 09/08/12 19:23, Roel_D wrote: > > Most stupid qu

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-10 Thread James Carlson
On 09/08/12 19:23, Roel_D wrote: > Most stupid question, but are running ping as root or as user? > A normal user is not allowed to ping! I don't think that's it. As far as I know, /usr/sbin/ping has always been setuid root. If that were the problem, the user wouldn't get "host unreachable," h

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-09 Thread Michael Stapleton
Are you referring to : http://homepage2.nifty.com/mrym3/taiyodo/eng/ If yes, it includes the binaries. Mike On Sun, 2012-09-09 at 20:30 +0200, Ivan Gualandri wrote: > No success. > Here my settings for pkg/server:dev > > pkg/port: 81 > pkg/address: 127.0.0.1 > pkg/inst_root: /export/pkg/dev >

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-09 Thread Ivan Gualandri
No success. Here my settings for pkg/server:dev pkg/port: 81 pkg/address: 127.0.0.1 pkg/inst_root: /export/pkg/dev Any other idea? My problem is that OpenIndiana supports my network card only using myk driver, but i found only a version that need to be compiled, but the default installation of OI

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-09 Thread Michael Stapleton
Have you tried to configure pkg/server to listen on 127.0.0.1 ? # svccfg -s pkg/server setprop pkg/address = net_address: 127.0.0.1 # svcadm refresh pkg/server # svcadm restart pkg/server Mike ?On Sun, 2012-09-09 at 11:25 +0200, Ivan Gualandri wrote: > Thank you yuri, > > unfortunately it doe

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-09 Thread Ivan Gualandri
Thank you yuri, unfortunately it doesn't work. I've done the following: svcadm netwokr/ipfilter:default disable svcadm pkg/server:dev enable pkgrepo info -s http://localhost:81 And i receive always the same error. I checked with netstat but there is nothing listening on port 81 for localhost.

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-08 Thread Yuri Pankov
On Fri, 7 Sep 2012 21:33:24 +0200, Ivan Gualandri wrote: Hi, in my laptop where actually there isn't any supported network card (i need to compile myk driver), i tried to ping localhost but i receive alway network unreachable. I tried both: ping localhost ping 127.0.0.1 and an ifconfig -a sh

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-08 Thread Roel_D
] Cannot ping localhost (with NoNet configuration) On 9/7/12 5:02 PM, Ivan Gualandri wrote: > On 7 September 2012 22:43, James Carlson wrote: >> What do "netstat -ni" and "netstat -nr" say? >> > It says: > > Routing Table: IPV4 > Destination:

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-08 Thread James Carlson
On 9/7/12 5:02 PM, Ivan Gualandri wrote: > On 7 September 2012 22:43, James Carlson wrote: >> What do "netstat -ni" and "netstat -nr" say? >> > It says: > > Routing Table: IPV4 > Destination: Gateway: FLAGS REFUse > Interface > 127.0.0.1 127.0.0.1

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-08 Thread James Carlson
On 9/7/12 6:23 PM, Ivan Gualandri wrote: > I did other tests and these are the result: > 1. Tried to telnet to localhost at port 10002 and i have that result: > > Trying ::1 ... > telnte connect to address ::1: connection refused > Trying 127.0.0.1 > telnet connect to address 127.0.0.1: connection

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-07 Thread Ivan Gualandri
I did other tests and these are the result: 1. Tried to telnet to localhost at port 10002 and i have that result: Trying ::1 ... telnte connect to address ::1: connection refused Trying 127.0.0.1 telnet connect to address 127.0.0.1: connection refused It seems that other commands can correctly tr

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-07 Thread Ivan Gualandri
Ok i just tried to ping the ipv6 address ::1 and it worked. (It says is alive). The problem is that ping localhost still doesn't work. I alsto tried to remove the ipv4 line from /etc/hosts Ivan On 7 September 2012 23:02, Ivan Gualandri wrote: > > > On 7 September 2012 22:43, James Carlson wro

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-07 Thread Ivan Gualandri
On 7 September 2012 22:43, James Carlson wrote: > Ivan Gualandri wrote: > > I tried both: > > > > ping localhost > > > > ping 127.0.0.1 > > Try "ping -sn 127.0.0.1". That at least gets name service (which might > be misconfigured) out of the way. > Same error > > and an ifconfig -a shows that

Re: [OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-07 Thread James Carlson
Ivan Gualandri wrote: > I tried both: > > ping localhost > > ping 127.0.0.1 Try "ping -sn 127.0.0.1". That at least gets name service (which might be misconfigured) out of the way. > and an ifconfig -a shows that lo0 is up and running. What do "netstat -ni" and "netstat -nr" say? > Is that n

[OpenIndiana-discuss] Cannot ping localhost (with NoNet configuration)

2012-09-07 Thread Ivan Gualandri
Hi, in my laptop where actually there isn't any supported network card (i need to compile myk driver), i tried to ping localhost but i receive alway network unreachable. I tried both: ping localhost ping 127.0.0.1 and an ifconfig -a shows that lo0 is up and running. Is that normal? There is a