DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th August 2014
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Thumbs up [solved]UDP protocol failed, as well as IPv6. pkgsrc blocked because of ths(IMHO)

right into the installation I couldn't install pkgin because the UDP protocol wasn't working well : 'ping6: UDP connect: no route to host'
then after 'ftp: can't connect to '2001:470:1f05:3d::21:80'
At the first boot, I saw that my hostname wasn't set by default.
Can I set anything I want ? Because I am on a box with dhcp and (it says) support for ipv6.
Now, pkg_add echoes 'no packet found' for whatsoever I ask for,
ping google.fr works, but not ping6. It says too : UDP conect: No route to host.
I tried ping6 with linux mint on my laptop, it works well and the box says it provides support.
The result of rtsol re0 is : kernel is configured no to accept RAs.
I did not touch anything after the first boot.
I would like, in the end, use pkgin. In fact, I study computer science and I needed something that doesn't crash on my computer within thirty days after installation, something which I surprisingly didn't find for now.
My version is NBSD 6.1.4, for amd64
Thanks !

Last edited by spermwhale_warrior; 29th August 2014 at 09:43 AM. Reason: problem resolved !
Reply With Quote
  #2   (View Single Post)  
Old 27th August 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Disclaimers: 1) I don't use NetBSD, and 2) I don't use IPv6.

You have described a routing problem. The rtsol (router solicitation) program tells you that RAs (router advertisements) are not accepted.

The rtsol(8) man page for NetBSD says:
Quote:
Also note that rtsold will not be able to update the kernel routing tables unless sysctl(8) reports that net.inet6.ip6.accept_rtadv=1.
I recommend setting that sysctl to 1, and trying again.
Reply With Quote
  #3   (View Single Post)  
Old 27th August 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Additionally, there is the NetBSD IPv6 Networking FAQ, which may help.
Reply With Quote
  #4   (View Single Post)  
Old 27th August 2014
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Default

thank you for your fast answer. I did all this, and ping6 and rtsol works.
Need I write sysctl and so one on /etc/rc.conf or is already permanent ?
Now, pkg_add do not work more than early, so the problem probably wasn't ipv6.
It keeps saying that even firefox isn't here.
And the -vvvvv option does nothing. I can't find neither /usr/pkg/ on my filesystem.
I only have /usr/pkgsrc. Is is a bug ?
How to give it a server to connect to ?
Reply With Quote
  #5   (View Single Post)  
Old 27th August 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

The sysctl(8) man page says:
Code:
FILES
     /etc/sysctl.conf  sysctl variables set at boot time
You will need to edit the file. Refer to sysctl.conf(5) and to the NetBSD Network FAQ.

I'm unable to assist with pkgsrc issues, as I have never used it, or NetBSD. I can only refer you to the pkgsrc guide.
Reply With Quote
  #6   (View Single Post)  
Old 27th August 2014
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Default

Everything's ok. pkgin is installed.
This post has fullfiled its aim !
Hail to the developper of pkgin, as it seems so much faster than APT.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH is being blocked from WAN however public IP shown in server log sparky OpenBSD Security 3 29th October 2012 01:29 PM
With World IPv6 Launch, IPv6 on by default will be the new normal J65nko News 0 29th March 2012 07:59 PM
pf & remote desktop protocol cerulean FreeBSD General 7 4th August 2011 10:14 PM
How do I enable IP protocol 47 (GRE) and TCP port 1723? jepettrey OpenBSD Security 10 3rd August 2010 10:03 AM
Which is the significance about pkgsrc-2009Q2 and pkgsrc-2009Q3? aleunix NetBSD Package System (pkgsrc) 3 16th December 2009 07:19 AM


All times are GMT. The time now is 05:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick