Hello all
I'm a very new user to Solaris 10. I believe i have my verizon DSL up
and running. when I do a
#pppd call verizon
I get
Serial conection established
Using interface sppp0
connect spp0 <--> /dev/sppptun
local IP ##.##.##.##
remote IP ##.#.##.#
(the #s are actual numbers just didn't want to advertise)
here is the output of ifconfig -a;
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
inet 127.0.0.1 netmask ff000000
sppp0:
flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU>
mtu 1492 index 2
inet ##.##.##.## --> ##.#.##.# netmask ff000000
ether 0
#
(the #s are actual numbers just didn't want to advertise)
I followed the directions at ; http://www.phildev.net/solaris/spppoe.html
I have two problems,
1) When I open the browser it does not connect to the internet
2) I copied the script from the above location and I do not connect
when i reboot. (Yes, I did substitute the 'ISP' for my file....)
any help getting this worked out would be appreciated
Thabks in advance
|
|
0
|
|
|
|
Reply
|
phil1361 (1)
|
4/9/2007 3:10:02 PM |
|
phil1361 wrote:
> sppp0:
> flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU>
> mtu 1492 index 2
> inet ##.##.##.## --> ##.#.##.# netmask ff000000
> ether 0
> #
> (the #s are actual numbers just didn't want to advertise)
>
> I followed the directions at ; http://www.phildev.net/solaris/spppoe.html
>
> I have two problems,
>
> 1) When I open the browser it does not connect to the internet
Do you have stale dummy static route?
netstat -rn
If you have, mv /etc/defaultrouter /etc/not_so_default_router
Do you have DNS name service enabled and configured?
egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
cat /etc/resolv.conf
svcadm restart nscd
--
Man is something that shall be overcome.
-- Friedrich Nietzsche
|
|
0
|
|
|
|
Reply
|
Miroslav
|
4/9/2007 3:37:11 PM
|
|
On Apr 9, 11:37 am, Miroslav Zubcic <n...@big-other.com> wrote:
> phil1361 wrote:
> > sppp0:
> > flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU>
> > mtu 1492 index 2
> > inet ##.##.##.## --> ##.#.##.# netmask ff000000
> > ether 0
> > #
> > (the #s are actual numbers just didn't want to advertise)
>
> > I followed the directions at ;http://www.phildev.net/solaris/spppoe.html
>
> > I have two problems,
>
> > 1) When I open the browser it does not connect to the internet
>
> Do you have stale dummy static route?
>
> netstat -rn
>
> If you have, mv /etc/defaultrouter /etc/not_so_default_router
>
> Do you have DNS name service enabled and configured?
>
> egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
> cat /etc/resolv.conf
>
> svcadm restart nscd
>
> --
> Man is something that shall be overcome.
> -- Friedrich Nietzsche
Thanks for the quick reply, but I didn't have any luck.
here are the responses I got;
# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
##.#.##.1 ##.##.##.161 UH 1 3 sppp0
224.0.0.0 127.0.0.1 U 1 0 lo0
default ##.##.40.1 UG 1 5
127.0.0.1 127.0.0.1 UH 2 60 lo0
# mv /etc/defaultrouter /etc/not_so_default_router
mv: cannot access /etc/defaultrouter
# egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
# "hosts:" and "services:" in this file are used only if the
hosts: files
ipnodes: files
# cat /etc/resolv.conf
cat: cannot open /etc/resolv.conf
# cat /etc/resolv.conf
cat: cannot open /etc/resolv.conf
#
# svcadm restart nscd
svcadm: Pattern 'nscd' doesn't match any instances
#
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/9/2007 4:44:27 PM
|
|
On Apr 9, 12:44 pm, "phil1361" <phil1...@gmail.com> wrote:
> On Apr 9, 11:37 am, Miroslav Zubcic <n...@big-other.com> wrote:
>
>
>
> > phil1361 wrote:
> > > sppp0:
> > > flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU>
> > > mtu 1492 index 2
> > > inet ##.##.##.## --> ##.#.##.# netmask ff000000
> > > ether 0
> > > #
> > > (the #s are actual numbers just didn't want to advertise)
>
> > > I followed the directions at ;http://www.phildev.net/solaris/spppoe.html
>
> > > I have two problems,
>
> > > 1) When I open the browser it does not connect to the internet
>
> > Do you have stale dummy static route?
>
> > netstat -rn
>
> > If you have, mv /etc/defaultrouter /etc/not_so_default_router
>
> > Do you have DNS name service enabled and configured?
>
> > egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
> > cat /etc/resolv.conf
>
> > svcadm restart nscd
>
> > --
> > Man is something that shall be overcome.
> > -- Friedrich Nietzsche
>
> Thanks for the quick reply, but I didn't have any luck.
> here are the responses I got;
>
> # netstat -rn
>
> Routing Table: IPv4
> Destination Gateway Flags Ref Use Interface
> -------------------- -------------------- ----- ----- ------ ---------
> ##.#.##.1 ##.##.##.161 UH 1 3 sppp0
> 224.0.0.0 127.0.0.1 U 1 0 lo0
> default ##.##.40.1 UG 1 5
> 127.0.0.1 127.0.0.1 UH 2 60 lo0
> # mv /etc/defaultrouter /etc/not_so_default_router
> mv: cannot access /etc/defaultrouter
> # egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
> # "hosts:" and "services:" in this file are used only if the
> hosts: files
> ipnodes: files
> # cat /etc/resolv.conf
> cat: cannot open /etc/resolv.conf
> # cat /etc/resolv.conf
> cat: cannot open /etc/resolv.conf
> #
> # svcadm restart nscd
> svcadm: Pattern 'nscd' doesn't match any instances
> #
Not sure if this matters but Verizon DSL uses DHCP....
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/9/2007 4:53:37 PM
|
|
phil1361 wrote:
> Thanks for the quick reply, but I didn't have any luck.
> here are the responses I got;
Ok, but please do not quote unneeded parts of previous posts and signatures.
> # netstat -rn
>
> Routing Table: IPv4
> Destination Gateway Flags Ref Use Interface
> -------------------- -------------------- ----- ----- ------ ---------
> ##.#.##.1 ##.##.##.161 UH 1 3 sppp0
> 224.0.0.0 127.0.0.1 U 1 0 lo0
> default ##.##.40.1 UG 1 5
> 127.0.0.1 127.0.0.1 UH 2 60 lo0
> # mv /etc/defaultrouter /etc/not_so_default_router
> mv: cannot access /etc/defaultrouter
Good.
> # egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
> # "hosts:" and "services:" in this file are used only if the
> hosts: files
> ipnodes: files
Add 'dns' after 'files'
> # cat /etc/resolv.conf
> cat: cannot open /etc/resolv.conf
touch /etc/resolv.conf
See usepeerdns in pppd(1m) (man pppd)
> # svcadm restart nscd
> svcadm: Pattern 'nscd' doesn't match any instances
Err, sorry ... svcadm restart name-service-cache
After you are done, consider setup of ipf(1m) firewall because you are
directly on the internet, or at least shut down bunch of barely needed
RPC daemons (svcs | grep online) ...
--
Man is something that shall be overcome.
-- Friedrich Nietzsche
|
|
0
|
|
|
|
Reply
|
Miroslav
|
4/9/2007 6:42:13 PM
|
|
On Apr 9, 2:42 pm, Miroslav Zubcic <n...@big-other.com> wrote:
> phil1361 wrote:
> > Thanks for the quick reply, but I didn't have any luck.
> > here are the responses I got;
>
> Ok, but please do not quote unneeded parts of previous posts and signatures.
>
> > # netstat -rn
>
> > Routing Table: IPv4
> > Destination Gateway Flags Ref Use Interface
> > -------------------- -------------------- ----- ----- ------ ---------
> > ##.#.##.1 ##.##.##.161 UH 1 3 sppp0
> > 224.0.0.0 127.0.0.1 U 1 0 lo0
> > default ##.##.40.1 UG 1 5
> > 127.0.0.1 127.0.0.1 UH 2 60 lo0
> > # mv /etc/defaultrouter /etc/not_so_default_router
> > mv: cannot access /etc/defaultrouter
>
> Good.
>
> > # egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
> > # "hosts:" and "services:" in this file are used only if the
> > hosts: files
> > ipnodes: files
************************************************************************
Add 'dns' after 'files'
Not sure what you mean here Add 'dns" after 'files"
***********************************************************************
> > # cat /etc/resolv.conf
> > cat: cannot open /etc/resolv.conf
>
> touch /etc/resolv.conf
it put an empty file in /etc, I read on another forum it there should
be nameserver and iP address in it and also should be in /etc/inet so
I copied the file from my fedora box and put it in the /etc/inet with
a link in the /etc
still nothing.....
> See usepeerdns in pppd(1m) (man pppd)
>
> > # svcadm restart nscd
> > svcadm: Pattern 'nscd' doesn't match any instances
>
> Err, sorry ... svcadm restart name-service-cache
did this too....nothing....
> After you are done, consider setup of ipf(1m) firewall because you are
> directly on the internet, or at least shut down bunch of barely needed
> RPC daemons (svcs | grep online) ...
Still not working...
I would like to set up a fire wall if/when I get on the internet but
I've only done it on slackware box using guarddog software...
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/9/2007 7:39:15 PM
|
|
phil1361 wrote:
> On Apr 9, 2:42 pm, Miroslav Zubcic <n...@big-other.com> wrote:
>> > # egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
>> > # "hosts:" and "services:" in this file are used only if the
>> > hosts: files
>> > ipnodes: files
> Add 'dns' after 'files'
> Not sure what you mean here Add 'dns" after 'files"
su -
# vi /etc/nsswitch.conf
/^hosts:
$
a
dns
ESC
Ctrl-N
$
a
dns
ESC
Shift ZZ
>> > # cat /etc/resolv.conf
>> > cat: cannot open /etc/resolv.conf
>> touch /etc/resolv.conf
> it put an empty file in /etc, I read on another forum it there should
> be nameserver and iP address in it and also should be in /etc/inet so
> I copied the file from my fedora box and put it in the /etc/inet with
> a link in the /etc
> still nothing.....
Your internet provider will give you DNS, and pppd(8) shall write
resolv.conf(4).
>> See usepeerdns in pppd(1m) (man pppd)
.... by means of this option.
> I would like to set up a fire wall if/when I get on the internet but
> I've only done it on slackware box using guarddog software...
http://www.google.com/search?q=Solaris+ipf+howto&btnG=Search
--
Man is something that shall be overcome.
-- Friedrich Nietzsche
|
|
0
|
|
|
|
Reply
|
Miroslav
|
4/9/2007 7:59:20 PM
|
|
Add 'dns' after 'files'
> Not sure what you mean here Add 'dns" after 'files"
su -
# vi /etc/nsswitch.conf
/^hosts:
$
a
dns
ESC
Ctrl-N
$
a
dns
ESC
Shift ZZ
ok I added the above in just that fasion as you wrote above then did
egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
with this result
Shift: not found
>> > # cat /etc/resolv.conf
>> > cat: cannot open /etc/resolv.conf
>> touch /etc/resolv.conf
> it put an empty file in /etc, I read on another forum it there should
> be nameserver and iP address in it and also should be in /etc/inet so
> I copied the file from my fedora box and put it in the /etc/inet with
> a link in the /etc
> still nothing.....
Your internet provider will give you DNS, and pppd(8) shall write
resolv.conf(4).
>> See usepeerdns in pppd(1m) (man pppd)
.... by means of this option.
ok, so I deleted all the resolv.conf I added and then
did touch /etc/resolv.conf
am I supposed to reboot or anything? stop or restart a process?
thanks for your patience as you might have guessed I am not a computer
guy.
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/9/2007 8:34:21 PM
|
|
phil1361 wrote:
> Add 'dns' after 'files'
>> Not sure what you mean here Add 'dns" after 'files"
>
> su -
> # vi /etc/nsswitch.conf
>
> /^hosts:
> $
> a
> dns
> ESC
> Ctrl-N
> $
> a
> dns
> ESC
> Shift ZZ
> ok I added the above in just that fasion as you wrote above then did
> egrep 'hosts|ipnodes|dns' /etc/nsswitch.conf
> with this result
> Shift: not found
Unbelievable.
Just reformat disks and install Mac OS or Windows XP please.
--
Man is something that shall be overcome.
-- Friedrich Nietzsche
|
|
0
|
|
|
|
Reply
|
Miroslav
|
4/9/2007 8:38:56 PM
|
|
On Apr 9, 8:10 am, "phil1361" <phil1...@gmail.com> wrote:
> Hello all
> I'm a very new user to Solaris 10. I believe i have my verizon DSL up
> and running. when I do a
> #pppd call verizon
??
Lets start from the beginning.
Why do you need to use PPPoE as well as DHCP on a DSL line.....?
Maybe its a verizon thing : /
If you need DHCP then set things up that first. I suggest a re-install
as you seem to have missed that bit. Sun does ask you during the
install
about things like that
|
|
0
|
|
|
|
Reply
|
gerryt
|
4/9/2007 9:00:03 PM
|
|
On Apr 9, 5:00 pm, "gerryt" <lepsys...@gmail.com> wrote:
> On Apr 9, 8:10 am, "phil1361" <phil1...@gmail.com> wrote:> Hello all
> > I'm a very new user to Solaris 10. I believe i have my verizon DSL up
> > and running. when I do a
> > #pppd call verizon
>
> ??
> Lets start from the beginning.
> Why do you need to use PPPoE as well as DHCP on a DSL line.....?
> Maybe its a verizon thing : /
> If you need DHCP then set things up that first. I suggest a re-install
> as you seem to have missed that bit. Sun does ask you during the
> install
> about things like that
Unbelievable.
Just reformat disks and install Mac OS or Windows XP please.
ok Thanks for your help...
Verizon doesn't give you a static ip....
in slackware I use pppoe config and the one line it asks for either ip
address or use one from server...I always choose server...
I did a second install 1st thing this morning and I don't have enough
information to fill in all the questions....
I also tryed installing rp-pppoe-3.8 and rp-pppoe-3.5 neither would
compile. 3.5 said there was no gcc or cc
3.8 said cc could not compile...I did a full install with OEM and
added the 16 megs of extra....
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/9/2007 9:37:28 PM
|
|
if I check connection properties of sppp0 it says it's connected
received 34 kb
sent 42 kb
idle
eirlier I did try the ifconfig - a plumb
then a ifconfig -a and it showed the
elxl0 there but not connected to anything
so I tried ifconfig elxl0 ##.##.#.# netmask 255.255.255.0 up
the ip I used was the one from sppp0
then when I did the ifconfig it cam up but I still could not oing
anything
and the browser does not connect to the net
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/9/2007 9:53:44 PM
|
|
On Apr 9, 2:37 pm, "phil1361" <phil1...@gmail.com> wrote:
> On Apr 9, 5:00 pm, "gerryt" <lepsys...@gmail.com> wrote:> On Apr 9, 8:10 am, "phil1361" <phil1...@gmail.com> wrote:> Hello all
> > > I'm a very new user to Solaris 10. I believe i have my verizon DSL up
> > > and running. when I do a
> > > #pppd call verizon
> > ??
> > Lets start from the beginning.
> > Why do you need to use PPPoE as well as DHCP on a DSL line.....?
> > Maybe its a verizon thing : /
> > If you need DHCP then set things up that first. I suggest a re-install
> > as you seem to have missed that bit. Sun does ask you during the
> > install about things like that
> Verizon doesn't give you a static ip....
I suspect they DO if you pay for it. So DHCP is it then.
> in slackware I use pppoe config and the one line it asks for either ip
> address or use one from server...I always choose server...
> I did a second install 1st thing this morning and I don't have enough
> information to fill in all the questions....
Like?? Find it out : / Call Verizon.
DHCP needs very litttle info to get going.
> I also tryed
Make that tried
>installing rp-pppoe-3.8 and rp-pppoe-3.5 neither would
> compile. 3.5 said there was no gcc or cc
There is a gcc if you know where to look : /
But you'd never get it to work and anyway I doubt its needed.
> 3.8 said cc could not compile...
Thats a FAQ. There is no cc except a stub script in /usr/ucb.
Left over from when Sun used to charge $$$ for a real C compiler
suite.
/usr/ucb: something thats best removed from your PATH
>I did a full install with OEM and
> added the 16 megs of extra....
extra... what?
|
|
0
|
|
|
|
Reply
|
gerryt
|
4/9/2007 11:48:06 PM
|
|
On Apr 9, 7:48 pm, "gerryt" <lepsys...@gmail.com> wrote:
> On Apr 9, 2:37 pm, "phil1361" <phil1...@gmail.com> wrote:
>
> > On Apr 9, 5:00 pm, "gerryt" <lepsys...@gmail.com> wrote:> On Apr 9, 8:10 am, "phil1361" <phil1...@gmail.com> wrote:> Hello all
> > > > I'm a very new user to Solaris 10. I believe i have my verizon DSL up
> > > > and running. when I do a
> > > > #pppd call verizon
> > > ??
> > > Lets start from the beginning.
> > > Why do you need to use PPPoE as well as DHCP on a DSL line.....?
> > > Maybe its a verizon thing : /
> > > If you need DHCP then set things up that first. I suggest a re-install
> > > as you seem to have missed that bit. Sun does ask you during the
> > > install about things like that
> > Verizon doesn't give you a static ip....
>
> I suspect they DO if you pay for it. So DHCP is it then.
>
> > in slackware I use pppoe config and the one line it asks for either ip
> > address or use one from server...I always choose server...
> > I did a second install 1st thing this morning and I don't have enough
> > information to fill in all the questions....
>
> Like?? Find it out : / Call Verizon.
> DHCP needs very litttle info to get going.
>
> > I also tryed
>
> Make that tried
>
> >installing rp-pppoe-3.8 and rp-pppoe-3.5 neither would
> > compile. 3.5 said there was no gcc or cc
>
> There is a gcc if you know where to look : /
> But you'd never get it to work and anyway I doubt its needed.
>
> > 3.8 said cc could not compile...
>
> Thats a FAQ. There is no cc except a stub script in /usr/ucb.
> Left over from when Sun used to charge $$$ for a real C compiler
> suite.
>
> /usr/ucb: something thats best removed from your PATH
>
> >I did a full install with OEM and
> > added the 16 megs of extra....
>
> extra... what?
your right, if I pay extra I could get a static IP
so I cant compile rp-pppoe
16 megs of extra packages that it wanted to in the begining of install
So DSL and PPPoE on solaris is just not going to work?
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/10/2007 12:26:44 AM
|
|
On Apr 9, 5:26 pm, "phil1361" <phil1...@gmail.com> wrote:
> So DSL and PPPoE on solaris is just not going to work?
Probably not without some info from Verizon so you can setup DHCP
setup first.
Although that info SHOULD be on the Linux box when its up..
|
|
0
|
|
|
|
Reply
|
gerryt
|
4/10/2007 1:17:57 AM
|
|
phil1361 wrote:
> On Apr 9, 7:48 pm, "gerryt" <lepsys...@gmail.com> wrote:
>
>>On Apr 9, 2:37 pm, "phil1361" <phil1...@gmail.com> wrote:
>>
>>
>>>On Apr 9, 5:00 pm, "gerryt" <lepsys...@gmail.com> wrote:> On Apr 9, 8:10 am, "phil1361" <phil1...@gmail.com> wrote:> Hello all
>>>
>>>>>I'm a very new user to Solaris 10. I believe i have my verizon DSL up
>>>>>and running. when I do a
>>>>>#pppd call verizon
>>>>
>>>>??
>>>>Lets start from the beginning.
>>>>Why do you need to use PPPoE as well as DHCP on a DSL line.....?
>>>>Maybe its a verizon thing : /
>>>>If you need DHCP then set things up that first. I suggest a re-install
>>>>as you seem to have missed that bit. Sun does ask you during the
>>>>install about things like that
>>>
>>>Verizon doesn't give you a static ip....
>>
>>I suspect they DO if you pay for it. So DHCP is it then.
>>
>>
>>>in slackware I use pppoe config and the one line it asks for either ip
>>>address or use one from server...I always choose server...
>>>I did a second install 1st thing this morning and I don't have enough
>>>information to fill in all the questions....
>>
>>Like?? Find it out : / Call Verizon.
>>DHCP needs very litttle info to get going.
>>
>>
>>>I also tryed
>>
>>Make that tried
>>
>>
>>>installing rp-pppoe-3.8 and rp-pppoe-3.5 neither would
>>>compile. 3.5 said there was no gcc or cc
>>
>>There is a gcc if you know where to look : /
>>But you'd never get it to work and anyway I doubt its needed.
>>
>>
>>>3.8 said cc could not compile...
>>
>>Thats a FAQ. There is no cc except a stub script in /usr/ucb.
>>Left over from when Sun used to charge $$$ for a real C compiler
>>suite.
>>
>>/usr/ucb: something thats best removed from your PATH
>>
>>
>>>I did a full install with OEM and
>>>added the 16 megs of extra....
>>
>>extra... what?
>
>
> your right, if I pay extra I could get a static IP
> so I cant compile rp-pppoe
>
> 16 megs of extra packages that it wanted to in the begining of install
>
> So DSL and PPPoE on solaris is just not going to work?
>
Sun will give you the software development tools. They are free! You
can download or order a DVD.
I can't say if DSL and PPPoE will work or not but the need to compile
things should not be an obstacle.
|
|
0
|
|
|
|
Reply
|
Richard
|
4/10/2007 2:20:24 AM
|
|
phil1361 <phil1361@gmail.com> wrote:
> On Apr 9, 2:42 pm, Miroslav Zubcic <n...@big-other.com> wrote:
>> Add 'dns' after 'files'
> Not sure what you mean here Add 'dns" after 'files"
He meant that the line which reads:
hosts: files
should read:
hosts: files dns
|
|
0
|
|
|
|
Reply
|
Colin
|
4/10/2007 4:34:32 AM
|
|
Richard B. gilbert wrote:
> I can't say if DSL and PPPoE will work or not but the need to compile
> things should not be an obstacle.
DSL and PPPoE will work, I used it on Ultra and x86. Sun pppoec works,
but you need to lower MTU on hosts behind Solaris ad DSL router (if it
acts as a router) because it doesn't suppport mss clamping (nasty
workaround because of standards breaking on internet). RP PPPOE for
Linux works without a problem, except it runs Sun's pppd(1m) in
foreground, and pppd(1m), while it is killed, kills all processes in
it's process group - including svc.startd(1m) on Solaris 10!
Problem with this guy is simpy DNS. He gets connected, gets IP address
and route, he can probably ping something by IP address, but he doesn't
know how to edit /etc/nsswitch.conf and ppp options in /etc/ppp to
enable dynamic resolv.conf(4) generation and host name resolution.
--
Man is something that shall be overcome.
-- Friedrich Nietzsche
|
|
0
|
|
|
|
Reply
|
Miroslav
|
4/10/2007 7:54:46 AM
|
|
On Apr 10, 12:34 am, "Colin B." <cbi...@somewhereelse.nucleus.com>
wrote:
> phil1361 <phil1...@gmail.com> wrote:
> > On Apr 9, 2:42 pm, Miroslav Zubcic <n...@big-other.com> wrote:
> >> Add 'dns' after 'files'
> > Not sure what you mean here Add 'dns" after 'files"
>
> He meant that the line which reads:
> hosts: files
>
> should read:
> hosts: files dns
well that makes more sense, I'll try it later....
thanks
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/10/2007 8:54:37 AM
|
|
On Apr 9, 10:20 pm, "Richard B. gilbert" <rgilber...@comcast.net>
wrote:
> phil1361 wrote:
> > On Apr 9, 7:48 pm, "gerryt" <lepsys...@gmail.com> wrote:
>
> >>On Apr 9, 2:37 pm, "phil1361" <phil1...@gmail.com> wrote:
>
> >>>On Apr 9, 5:00 pm, "gerryt" <lepsys...@gmail.com> wrote:> On Apr 9, 8:10 am, "phil1361" <phil1...@gmail.com> wrote:> Hello all
>
> >>>>>I'm a very new user to Solaris 10. I believe i have my verizon DSL up
> >>>>>and running. when I do a
> >>>>>#pppd call verizon
>
> >>>>??
> >>>>Lets start from the beginning.
> >>>>Why do you need to use PPPoE as well as DHCP on a DSL line.....?
> >>>>Maybe its a verizon thing : /
> >>>>If you need DHCP then set things up that first. I suggest a re-install
> >>>>as you seem to have missed that bit. Sun does ask you during the
> >>>>install about things like that
>
> >>>Verizon doesn't give you a static ip....
>
> >>I suspect they DO if you pay for it. So DHCP is it then.
>
> >>>in slackware I use pppoe config and the one line it asks for either ip
> >>>address or use one from server...I always choose server...
> >>>I did a second install 1st thing this morning and I don't have enough
> >>>information to fill in all the questions....
>
> >>Like?? Find it out : / Call Verizon.
> >>DHCP needs very litttle info to get going.
>
> >>>I also tryed
>
> >>Make that tried
>
> >>>installing rp-pppoe-3.8 and rp-pppoe-3.5 neither would
> >>>compile. 3.5 said there was no gcc or cc
>
> >>There is a gcc if you know where to look : /
> >>But you'd never get it to work and anyway I doubt its needed.
>
> >>>3.8 said cc could not compile...
>
> >>Thats a FAQ. There is no cc except a stub script in /usr/ucb.
> >>Left over from when Sun used to charge $$$ for a real C compiler
> >>suite.
>
> >>/usr/ucb: something thats best removed from your PATH
>
> >>>I did a full install with OEM and
> >>>added the 16 megs of extra....
>
> >>extra... what?
>
> > your right, if I pay extra I could get a static IP
> > so I cant compile rp-pppoe
>
> > 16 megs of extra packages that it wanted to in the begining of install
>
> > So DSL and PPPoE on solaris is just not going to work?
>
> Sun will give you the software development tools. They are free! You
> can download or order a DVD.
>
> I can't say if DSL and PPPoE will work or not but the need to compile
> things should not be an obstacle.
I have the DVD media set from sun, installed the sun studio 11
since I did that I got ./configure to work but now it hangs on make,
at libevent.o something about wanting to place it somewhere,
I dont have the exact complaint right now will post it later
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/10/2007 8:58:11 AM
|
|
On Apr 9, 9:17 pm, "gerryt" <lepsys...@gmail.com> wrote:
> On Apr 9, 5:26 pm, "phil1361" <phil1...@gmail.com> wrote:
>
> > So DSL and PPPoE on solaris is just not going to work?
>
> Probably not without some info from Verizon so you can setup DHCP
> setup first.
> Although that info SHOULD be on the Linux box when its up..
what info should i look for? I figure it should work like
linux...silly me!
I'm not really ready to give up yet, Solaris seems to work very well
other wise...
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/10/2007 9:00:17 AM
|
|
"phil1361" <phil1361@gmail.com> writes:
> your right, if I pay extra I could get a static IP
> so I cant compile rp-pppoe
>
> 16 megs of extra packages that it wanted to in the begining of install
>
> So DSL and PPPoE on solaris is just not going to work?
Of course it does.
It looks like the part you're missing is proper DNS configuration.
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
4/10/2007 1:59:15 PM
|
|
On Apr 10, 2:00 am, "phil1361" <phil1...@gmail.com> wrote:
> On Apr 9, 9:17 pm, "gerryt" <lepsys...@gmail.com> wrote:
> > On Apr 9, 5:26 pm, "phil1361" <phil1...@gmail.com> wrote:
> > > So DSL and PPPoE on solaris is just not going to work?
> > Probably not without some info from Verizon so you can setup DHCP
> > setup first.
> > Although that info SHOULD be on the Linux box when its up..
> what info should i look for? I figure it should work like
> linux...silly me!
Im sure it would had you configured the system properly in the first
place..
> I'm not really ready to give up yet,
Good. Commendable.
Most folks seem to think its a DNS problem. DHCP properly configured
would probably get you over that hurdle. But you seem unwilling to get
any
"missing" info from Verizon. You could try running sys-unconfig which
will reset everything from scratch. Choose DHCP as a name service.
Seems you picked "none" originally for whatever reason but Im guessing
now.
If you get stuck in some phase of configuration then post your results
verbatim..
|
|
0
|
|
|
|
Reply
|
gerryt
|
4/10/2007 5:04:16 PM
|
|
I will be should be trying the DNS set up tonight, thanks for all the
suggetions,
I received a link about dchp, I need to read, and also try.
if neither of those work then I will give the sys-unconfig
and start over
http://www.rite-group.com/rich/solaris_dhcp.html
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/11/2007 8:32:02 AM
|
|
"phil1361" <phil1361@gmail.com> writes:
> I will be should be trying the DNS set up tonight, thanks for all the
> suggetions,
>
> I received a link about dchp, I need to read, and also try.
> if neither of those work then I will give the sys-unconfig
> and start over
DHCP and PPPoE are -- unfortunately and typically -- mutually
exclusive. If your provider gives you DHCP service, then you're in
good luck, because it works better than PPPoE in many regards.
If you must use PPPoE (because your provider requires its use), then:
- use the "usepeerdns" option for pppd
- symlink /etc/resolv.conf:
rm -f /etc/resolv.conf
ln -s /etc/ppp/resolv.conf /etc/resolv.conf
- make sure the system uses DNS:
cp /etc/nsswitch.dns /etc/nsswitch.conf
If you have problems, then gather debug information ("netstat -nr",
system logs) and post again.
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
4/11/2007 3:47:39 PM
|
|
YESSS,
That worked,
Thank You all!!!
James Carlson, those couple of lines did the trick.
How do I get it to come up on boot?
I followed the directions from
http://www.phildev.net/solaris/spppoe.html
and that doesnt work.
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/12/2007 10:46:51 PM
|
|
Another way: make a local subnet with a cheapo router, configure the
DSL-adapter-to-router as PPPoE (assuming that is what your ISP
requires), and configure any subnet clients as DHCP.
James Carlson wrote:
> "phil1361" <phil1361@gmail.com> writes:
>
>>I will be should be trying the DNS set up tonight, thanks for all the
>>suggetions,
>>
>>I received a link about dchp, I need to read, and also try.
>>if neither of those work then I will give the sys-unconfig
>>and start over
>
>
> DHCP and PPPoE are -- unfortunately and typically -- mutually
> exclusive. If your provider gives you DHCP service, then you're in
> good luck, because it works better than PPPoE in many regards.
>
> If you must use PPPoE (because your provider requires its use), then:
>
> - use the "usepeerdns" option for pppd
>
> - symlink /etc/resolv.conf:
>
> rm -f /etc/resolv.conf
> ln -s /etc/ppp/resolv.conf /etc/resolv.conf
>
> - make sure the system uses DNS:
>
> cp /etc/nsswitch.dns /etc/nsswitch.conf
>
> If you have problems, then gather debug information ("netstat -nr",
> system logs) and post again.
>
|
|
0
|
|
|
|
Reply
|
maxodyne
|
4/13/2007 3:21:23 AM
|
|
maxodyne <mrosan@sbcglobal.net> writes:
> Another way: make a local subnet with a cheapo router, configure the
> DSL-adapter-to-router as PPPoE (assuming that is what your ISP
> requires), and configure any subnet clients as DHCP.
Indeed; that's a common solution.
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
4/13/2007 4:22:47 PM
|
|
"phil1361" <phil1361@gmail.com> writes:
> YESSS,
>
> That worked,
> Thank You all!!!
>
> James Carlson, those couple of lines did the trick.
>
> How do I get it to come up on boot?
> I followed the directions from
> http://www.phildev.net/solaris/spppoe.html
> and that doesnt work.
The instructions there seem somewhat reasonable to me. I'm not sure
what sort of problem you're having, but you might want to look at the
/var/svc/log/svc.startd.log file to see what happened.
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
4/13/2007 4:28:51 PM
|
|
These are the only errors I have in the /var/svc/log/svc.startd.log
I think the cause of these is me trying to set up my firewall and not
getting it correct yet.
Apr 13 05:16:57/268 ERROR: svc:/network/ipfilter:default: Method "/lib/
svc/method/ipfilter start" failed with exit status 96.
Apr 13 05:16:57/268: network/ipfilter:default misconfigured:
transitioned to maintenance (see 'svcs -xv' for details)
Apr 13 17:48:58/148 ERROR: svc:/network/ipfilter:default: Method "/lib/
svc/method/ipfilter start" failed with exit status 96.
Apr 13 17:48:58/148: network/ipfilter:default misconfigured:
transitioned to maintenance (see 'svcs -xv' for details)
here are the out puts of svcs -xv
svc:/application/print/server:default (LP print server)
State: disabled since Fri 13 Apr 2007 06:41:49 PM EDT
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: man -M /usr/share/man -s 1M lpsched
Impact: 1 dependent service is not running:
svc:/application/print/rfc1179:default
svc:/network/ipfilter:default (IP Filter)
State: maintenance since Fri 13 Apr 2007 06:42:05 PM EDT
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 5 ipfilter
See: /etc/svc/volatile/network-ipfilter:default.log
Impact: This service is not running.
|
|
0
|
|
|
|
Reply
|
phil1361
|
4/13/2007 11:31:13 PM
|
|
"phil1361" <phil1361@gmail.com> writes:
> svc:/application/print/server:default (LP print server)
> State: disabled since Fri 13 Apr 2007 06:41:49 PM EDT
> Reason: Disabled by an administrator.
> See: http://sun.com/msg/SMF-8000-05
> See: man -M /usr/share/man -s 1M lpsched
> Impact: 1 dependent service is not running:
> svc:/application/print/rfc1179:default
This one is nothing.
> svc:/network/ipfilter:default (IP Filter)
> State: maintenance since Fri 13 Apr 2007 06:42:05 PM EDT
> Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
> See: http://sun.com/msg/SMF-8000-KS
> See: man -M /usr/share/man -s 5 ipfilter
> See: /etc/svc/volatile/network-ipfilter:default.log
> Impact: This service is not running.
This one's significant. Did you look at the log file that it
mentions?
Most likely, you need to modify /etc/ipf/iu.ap, but haven't done so.
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
4/26/2007 2:00:41 PM
|
|
|
30 Replies
176 Views
(page loaded in 0.205 seconds)
|