Date: Thu, 18 Jun 2015 11:57:08 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Mirror for http://www.FreeBSD.org/ports/INDEX-{9,10,11}.bz2? Message-ID: <alpine.BSF.2.20.1506181139530.69928@mail.fig.ol.no>
next in thread | raw e-mail | index | archive | help
What is most likely an IPv6 routing error beyond NORDUnet: fetch: http://www.FreeBSD.org/ports/INDEX-11.bz2: Network is unreachable prevents make -C /usr/ports fetchindex from completing on an IPv6-only VM. >From the Makefile, I see I can specify an override value for MASTER_SITE_INDEX. So far, I have tried MASTER_SITE_INDEX=http://www.se.FreeBSD.org/ports/ and MASTER_SITE_INDEX=http://www.dk.FreeBSD.org/ports/, but neither mirror carry the INDEX files. Is there such a mirror with IPv6 connectivity. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 12:47:20 2015 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E0F8D0E for <freebsd-questions@hub.freebsd.org>; Thu, 18 Jun 2015 12:47:20 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 1624CFC6 for <freebsd-questions@freebsd.org>; Thu, 18 Jun 2015 12:47:19 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-151-206.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.151.206]) by ipmail06.adl2.internode.on.net with ESMTP; 18 Jun 2015 22:17:08 +0930 Message-ID: <5582BDC7.9080203@ShaneWare.Biz> Date: Thu, 18 Jun 2015 22:17:03 +0930 From: Shane Ambler <FreeBSD@ShaneWare.Biz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Matthias Apitz <guru@unixarea.de>, freebsd-questions@freebsd.org Subject: Re: /etc/pccard_ether && assigning IP and routing References: <20150618060534.GA3970@c720-r276659> In-Reply-To: <20150618060534.GA3970@c720-r276659> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 18 Jun 2015 12:47:20 -0000 On 18/06/2015 15:35, Matthias Apitz wrote: > > Hello, > > I own an Ubuntu phone BQ E4.5 and when I attach this on USB to my > FreeBSD netbook the devd(8) launches > > /etc/pccard_ether ue0 start > > which works fine and the interface ue0 comes UP. I'd like to run an > additional script to assign IP via dhcclient, establish a default > route and restart sendmail. I do this manually as root with a script: > > > #!/bin/sh > # > # change routing (...) to the Ubuntu phone BQ Aqaris E4.5 > # > > ifconfig ue0 || { > printf "interface ue0 not found -- exit.\n" > exit 1 > } > > ifconfig wlan0 down > route delete default > > killall dhclient > rm -f /etc/resolv.conf > dhclient ue0 > > /etc/rc.d/sendmail stop > sleep 3 > /etc/rc.d/sendmail start > > I found no way with devd(8) hooks to run this script when interface ue0 > comes up. Any ideas? Thanks in advance. > > matthias > usbconfig will list devices, if your phone is at ugen2.5 then - usbconfig -u 2 -a 5 dump_device_desc | grep idVendor Replace your idvendor in the following - Put the following into /usr/local/etc/devd/myubuntuphone.conf attach 200 { device-name "ue[0-9]+"; match "vendor" "0x056a"; action "/path/to/script options"; }; detach 200 { device-name "ue[0-9]+"; match "vendor" "0x056a"; action "/path/to/script options"; }; -- FreeBSD - the place to B...Software Developing Shane Ambler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1506181139530.69928>