Re: pppoe configuration and dns name resolution
On Sat, 20 Oct 2012 09:42:31 +0530, Jack wrote: > Hi again, > > This time I disabled DHCP on my fxp0 interface and > in my adsl modem too. > But the problem still exists. > > This time I tried both approaches: > assigned an IP address explicitly to fxp0, and > then no explicit assignment to fxp0. That should be the easiest test setting. > I still don' get why FreeBSD is having trouble > connecting via PPP. Seems to be a specific problem. There is no general problem with PPPoE on FreeBSD. > I am trying every combinations that might work, > but still no luck. > Any help will be appreciated. Try to limit "variables" as much as possible. Control one "thing" per time. > I'm posting my config files. The statements in comments > are those that I already tried enabling them. > > > ## /etc/rc.conf > hostname="jacks_lappy" > #ifconfig_fxp0="DHCP" > #ifconfig_tun0="" > ifconfig_fxp0="inet 192.168.1.4 netmask 255.255.255.0" > #ifconfig_fxp0="" Is this IP inside your network? In my old setting, I had defined the IP for the NIC connected to the modem as 192.168.0.1, but my own network (and therefor also the 2nd NIC in the machine) in 192.168.1.* - I don't know if the first could have been omitted, just doing ="up" for the NIC connected to the modem. > sshd_enable="YES" > moused_enable="YES" > powerd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="AUTO" > > hald_enable="YES" > dbus_enable="YES" No problem here, not related. > routerenable="NO" This option does not exist. See /etc/defaults/rc.conf for a list of them. I haven't used that option in the working setup. > #defaultrouter="192.168.1.1" Correct - I also did not define a default router. > ppp_enable="YES" > ppp_mode="ddial" > ppp_nat="NO" > ppp_profile="adsl" > ppp_adsl_unit="0" I've also not used the last parameter. The tun0 interface would have been generated automatically. Everything implies that the _kernel_ has all the neccessary functionality enabled (tun interface, PPPoE related netgraph modules and NIC support). > I tried to specify tun0 interface explicitly, > but still no luck. No need to do so. > When I start ppp using: > service ppp start > > It shows tun0 is busy. Which is correct. > ## etc/resolv.conf > #Open DNS nameservers: > nameserver 208.67.222.222 > nameserver 208.67.220.220 Those are OpenDNS resolvers. I've been using two provided by my ISP, and also ran named myself later on. > ## /etc/ppp/ppp.conf > > default: > set log Phase chat lcp ipcp ccp tun command lqm > set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 > # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 > nat enable no > > adsl: > set device PPPoE:fxp0 > #set device PPPoE:tun0 > set mru 1492 > set mtu 1492 > set ctsrts off > set speed sync > set dial > > enable lqr > > set login > set authname > set authkey > set timeout 120 > set redial 0 0 > > add default HISADDR > #enable dns Why not try a minimal configuration? myispname: set device PPPoE:fxp0 set authname set authkey set dial set login add default HISADDR That should be everything which is needed. For better diagnostics, add your custom options (like lpr or redial) later on. As I said, all my examples and suggestions are taken from a working example, different OS versions, different physical modems. -- > > ## output of ifconfig just after boot: > > fxp0: flags=8843 metric 0 mtu 1500 > options=2009 > ether 00:16:d3:0c:42:22 > inet 192.168.1.4 netmask 0xff00 broadcast 192.168.1.255 > inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active Looks good so far - connected to the modem. > tun0: flags=8051 metric 0 mtu 1500 > options=8 > nd6 options=29 > Opened by PID 1231 Does not look good - no IP assigned. > ## output of ifconfig after I started ppp using > ## service ppp start The ppp should have been started automatically... > fxp0: flags=8843 metric 0 mtu 1500 > options=2009 > ether 00:16:d3:0c:42:22 > inet 192.168.1.4 netmask 0xff00 broadcast 192.168.1.255 > inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active Again, looks correct. > tun0: flags=8051 metric 0 mtu 1500 > options=8 > nd6 options=29 > Opened by PID 1231 And again no IP here. > Now it seems to me that there might be some sequence of statements in > /etc/ppp/ppp.conf that works, and others don't That's possible. Limit the statements first, starting from the ppp.conf file provided by the system. Just add the few lines neccessary to have
Re: pppoe configuration and dns name resolution
Hi again, This time I disabled DHCP on my fxp0 interface and in my adsl modem too. But the problem still exists. This time I tried both approaches: assigned an IP address explicitly to fxp0, and then no explicit assignment to fxp0. I still don' get why FreeBSD is having trouble connecting via PPP. I am trying every combinations that might work, but still no luck. Any help will be appreciated. I'm posting my config files. The statements in comments are those that I already tried enabling them. ## /etc/rc.conf hostname="jacks_lappy" #ifconfig_fxp0="DHCP" #ifconfig_tun0="" ifconfig_fxp0="inet 192.168.1.4 netmask 255.255.255.0" #ifconfig_fxp0="" sshd_enable="YES" moused_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" hald_enable="YES" dbus_enable="YES" routerenable="NO" #defaultrouter="192.168.1.1" ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="adsl" ppp_adsl_unit="0" I tried to specify tun0 interface explicitly, but still no luck. When I start ppp using: service ppp start It shows tun0 is busy. -- ## etc/resolv.conf #Open DNS nameservers: nameserver 208.67.222.222 nameserver 208.67.220.220 -- ## /etc/ppp/ppp.conf default: set log Phase chat lcp ipcp ccp tun command lqm set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 nat enable no adsl: set device PPPoE:fxp0 #set device PPPoE:tun0 set mru 1492 set mtu 1492 set ctsrts off set speed sync set dial enable lqr set login set authname set authkey set timeout 120 set redial 0 0 add default HISADDR #enable dns -- ## output of ifconfig just after boot: fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.4 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=63 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff00 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=8 nd6 options=29 Opened by PID 1231 -- ## output of ifconfig after I started ppp using ## service ppp start fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.4 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=63 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff00 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=8 nd6 options=29 Opened by PID 1231 -- Now it seems to me that there might be some sequence of statements in /etc/ppp/ppp.conf that works, and others don't But what is that magic sequence? PS: In windows there is no problem connecting via ppp, even if I use DHCP server enabled on my adsl modem, and modem is in bridge mode. So, there must be some way in FreeBSD too, that works regardless of whether ip address of fxp0(the ethernet interface to which adsl modem connects to PC), is assigned via a DHCP server on modem or manually. I understand that if DHCP is enabled on adsl modem, and fxp0 is assigned the ip address via this DHCP, then the PPP server of ISP to which we are trying to connect, will also assign a public IP address to the PPP client, which in case of FreeBSD is tun0 interface rather than fxp0 . In other words, tun0 interface here should be PPP client, and PPP server is at ISP side. Ths fx
Re: poudriere amassing fetch errors
Le Sun, 14 Oct 2012 03:57:20 +0200, "Christopher J. Ruwe" a écrit : Hello, > for some time I have noticed that poudriere bulk build amass fetch > errors, i.e., the corresponding distfile(s) cannot be fetched by the > build jail and I have to fetch these manually. > > Does anybody know a fix to this unnerving condition? I don't see this problem. Missing resolv.conf ? /usr/local/etc/poudriere.conf # By default the jails have no /etc/resolv.conf, you will need to set # REVOLV_CONF to a file on your hosts system that will be copied has # /etc/resolv.conf for the jail, except if you don't need it (using an http # proxy for example) RESOLV_CONF=/etc/resolv.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Virus was detected in the message
The message was not delivered to the following recipients: It was not delivered because infected objects have been detected q9JIpotu019641 INFECTED LINFECTED Email-Worm.Win32.Mydoom.m The header of the message follows: Received: from freebsd.org (93-45-210-251.ip104.fastwebnet.it [93.45.210.251]) by mail1.rosprint.net (8.13.1/8.13.1) with ESMTP id q9JIpotu019641 for ; Fri, 19 Oct 2012 22:51:51 +0400 From: freebsd-questions@freebsd.org To: dni...@gin.global-one.ru Subject: Date: Fri, 19 Oct 2012 20:51:56 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_NextPart_000_0013_3AC05767.9E5B4780" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600. X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Top Search Word - Best AdWords Alternative
Hello, Let me introduce you our unique patent pending technology which will bring your website on top of all major search engines, such as Google, Yahoo, Bing and many more in as little as 48 hours without bidding highest cost per click among competitors. With our technology you will not have to worry about competitors, because once you get keyword, nobody else can use it during whole year. You will have exclusive rights on your keywords during that period and first right of renewal. You can see online demonstration of our technology on our website. In order to see it: - Go to our website (see below) and click on Online Demo button; - Type in your web address www.freebsd.org and any Keyword you want; - Click on View Online Demo to see result. After you fill out our online quote form, our representative will analyze minimum possible traffic for your keywords and give you minimum guaranteed traffic amount with prime positioning of your website on top of all major search engines and also will calculate best price which will fit in your budget. Best regards, TopSearchWord.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Please vote before 23rd October
To view this email online, follow this link: http://s5.newzapp.co.uk/gtp.aspx?LID=OSwzMTc2NDE2MTYsMw== == WIN AN IPHONE 5 OR SAMSUNG GALAXY S3 This isn't a marketing promotion and there's no catch - We're asking for your support as someone who has previously purchased from MOBILE PHONES DIRECT or one of our partner websites. To be in with a chance of winning simply take a very short 17 question survey and Vote 'MOBILE PHONES DIRECT' for this years 'BEST ONLINE RETAILER' (we're Question No.11 and it takes under 60 seconds). Once you've answered all of the questions, please leave your name and email address and you'll be entered into the draw - There's several Smartphones up for grabs so why not forward this email to your family and friends asking them to vote, or ask them to take the survey at www.vote4mpd.com Good luck and a Big thank you from all of us at Mobile Phones Direct for voting. This message was sent to FREEBSD-QUESTIONS@FREEBSD.ORG by using NewZapp Email Marketing [ http://www.newzapp.co.uk ]. Follow this link to Unsubscribe [ http://s5.newzapp.co.uk/r.aspx?CID=19429 ]. == ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS / Boot Environments / Jails / Upgrading form Source Code
On 2012-10-19 02:48, Shane Ambler wrote: On 19/10/2012 07:44, dweimer wrote: First step replace the usr/src within the jail with new source using svn, easy enough. Then start make buildworld... oops, I have a problem now, the usr/obj/usr stuff is now under /usr/obj/usr/jails/release91rc2..., However I want it to be under /usr/jails/release91rc2/usr/obj/usr. If the jails base dir is /usr/obj/usr/jails/release91rc2 then it can only access files below that base dir. That is part of the jails security. If your jail is based at /usr/obj/usr/jails/release91rc2 then the jail by default will buildworld into /usr/obj of the jail system which translates to /usr/obj/usr/jails/release91rc2/usr/obj on the base system. You can adjust the settings within the jail but it will always be within the release91rc2 dir so you can't use the jail to install into /usr/jails of the base system. The base of the Jail, is /usr/jails/release91rc2, however, I did forget to mention that I was running the buildworld and buildkernel from the base system, with the intent to install using the DESTDIR=/usr/jails/release91rc2 command line option From looking at the usr/src/Makefile It looks like I need to set the MAKEOBJDIRPREFIX=/usr/jails/relase91rc2/usr/obj/usr/src/tmp environment variable, but is that the best solution here? There's also a /usr/obj/lib32 directory (system is running amd64, I assume this is for 32 bit libraries), so I would likely need to do something here as well, that I haven't gotten to yet. lib32 is part of the final system - you don't need to handle it separately. See man src.conf if you want to turn off the creation of 32bit libs. Got it, Fine with leaving it there, just wanted to know if there was a separate option to define where it ended up. You can set MAKEOBJDIRPREFIX (default /usr/obj ) to define where the binary files are made. You can also set DESTDIR (default is / ) for the installworld step to define where they get installed. It appears I went to deep on my definition of the MAKOBJDIRPREFIX, made the above path after seeing some output at the start of one of my buildworld attempts, which is what led me to believe there would be a second choice. When you start a buildworld or buildkernel the compiled binaries are stored within MAKEOBJDIRPREFIX. When that is complete the installworld or installkernel steps install the files from MAKEOBJDIRPREFIX into DESTDIR to create a workable system. That prevents a failed build from destroying part of your running system. If you want to experiment with different versions then you can also try- mkdir /usr/jails cd /usr/jails svn co http://svn0.us-west.FreeBSD.org/base/releng/9.0 9.0-src cd 9.0-src set MAKEOBJDIRPREFIX = /usr/jails/9.0-obj set DESTDIR = /usr/jails/9.0-base make buildworld && make installworld cd /usr/jails svn co http://svn0.us-east.FreeBSD.org/base/releng/9.1 9.1-src cd 9.1-src set MAKEOBJDIRPREFIX = /usr/jails/9.1-obj set DESTDIR = /usr/jails/9.1-base make buildworld && make installworld Here was the key information I needed, found several examples searching but none stated the MAKEOBJDIRPREFIX=, as you state below they are not needed for the running system, guessing most people clean them up afterwards so they aren't concerned they don't exist in the same boot environment in the end. I prefer to keep them in the same boot environment if possible, just so that if I delete a boot environment I know I got rid of everything that belonged to it and don't end up uselessly eating up extra disk space. I do delete the /usr/obj/usr directory prior to any rebuild, from old documentation I read when I first started doing source upgrades as a method of improving the speed of the buildworld. I am sure those were written for a 32bit system, which is why the lib32 directory wasn't included in those instructions. I know the /usr/obj/usr directory can be deleted after the installation of the source, does the same go for the /usr/obj/lib32 directory? if so Anything in MAKEOBJDIRPREFIX (/usr/obj) can be deleted after you have installed it, including lib32 which are libs to allow running 32bit programs on a 64bit system. Looks like I am on the right path, now time to give it a try with the new environment variables, thanks for your help Shane. If all goes well on this step, only things I have left to figured out and test is creating zfs snapshots by hand of volumes outside my boot environment, and mounting those read write within the jailed systems base so that I can fully test my applications against the latest live data without changing the actual data. Don't expect to have any trouble with this one. And then last of all need to test removing a HD from my Virtual Machine, adding a replacement, and rebuilding the mirror, again don't expect this to be a problem, just need to work my way through them and get the steps down before I am comfortable doing these procedures on a system th
Re: OT: gEDA, SPICE, electronic cad/simulation
2012-10-18 12:40, Da Rock skrev: On 10/16/12 20:38, Bernt Hansson wrote: 2012-10-14 14:26, Da Rock skrev: I'm struggling with this damn gEDA/SPICE thing - I think I have gEDA schem figured, but I can't be sure because I can't test it. For the life of me I can't seem to get my head around it, but then I might just be too tired. Can anyone point out what I'm missing? I open geda, create a sch file (circuit), and then run gnetlist -g spice-sdb . I then run ngspice (or gspiceui) but it comes up with errors over the 555 (U1) and diodes (d?) I'm running like this: You are using the spice models for those components? geda does not have spice models for diodes and 555 at least not mine. That may be it. Where are they supposed to be located on FreeBSD? If it where up to me /usr/local/share/geda/spice but it is not up to me, that directory does not exist. And I suppose I would need to find where I can get them in the first place :) Well, my guess is gnu.org. I'm not at the office right now, maybe later so I can't check the url. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: laptop with no BIOS? or BIOS reflash pain
On Fri, 19 Oct 2012 11:38:48 +0100 (BST), Anton Shterenlikht wrote: > There is an updated BIOS version, but > so far I failed to get it installed. > HP only provide MS and freedos executables. > I tried BartPE - doesn't work. Maybe you can utilize the approach to create the "typical" DOS boot diskette and access it via attached USB floppy disk drive? > I tried plugging in a MS disk - doesn't work. > The only think I haven't tried is getting > a spare disk, installing freedos on it > and then running the freedos executable > from USB - what a fucking pain... The idea with a disk could work, but seems a bit over- complicated for such a "simple" (yes, haha) task like updating the BIOS. > For proper hardware (servers) HP provide > images which are executed from management > console, but not for laptops. > I guess the idea that one might > use their laptops for anything other than MS > is so wild, that it never crossed their maid. That's because it doesn't exist. :-) > Anyway, I think I've heard there are some laptops > with no BIOS, is this true? Per termini technici, yes. Some systems use EFI (or UEFI) instead of a BIOS. It's comparable to a much more advanced (than BIOS) micro-OS that initializes the hardware, connectes to the Internet, tells the manufacturer what you're doing and keeps limiting you in what you are allowed to install. :-) > Or perhaps there are brands where BIOS > reflash is not such a great pain? Yes, mainframes with loadable microprogram. :-) > I remember on Compaq Armada the BIOS was > stored on disk and Compaq provided a floppy > image to boot from and reflash BIOS. > That was easy. I remember that idea, but having to rely on a working hard disk in order to have _basic_ (that's what the 'B' in BIOS means) input and output functionality looks a bit ridiculous. > Anything like this exist these days? For sure, but not very common in home consumer hardware (yet). > Are there any EFI laptops? As far as I know, Apple only makes such. Newer netbooks intended to run MICROS~1 products are also known, both for i386/amd64 and ARM architecture (with the idea that on ARM, you cannot run anything else than what the hardware vendor allows, which is "Windows"). > Any model people would recommend? IBM Thinkpad. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
laptop with no BIOS? or BIOS reflash pain
I've HP compaq 6715s laptop. It's all right with 10-current. I've got wireless and at one point I even managed to get flash working. My problem is with BIOS. Apparently it's wrong and John Baldwin provided me with a pci.c patch to get it to boot. There is an updated BIOS version, but so far I failed to get it installed. HP only provide MS and freedos executables. I tried BartPE - doesn't work. I tried plugging in a MS disk - doesn't work. The only think I haven't tried is getting a spare disk, installing freedos on it and then running the freedos executable from USB - what a fucking pain... For proper hardware (servers) HP provide images which are executed from management console, but not for laptops. I guess the idea that one might use their laptops for anything other than MS is so wild, that it never crossed their maid. Anyway, I think I've heard there are some laptops with no BIOS, is this true? Or perhaps there are brands where BIOS reflash is not such a great pain? I remember on Compaq Armada the BIOS was stored on disk and Compaq provided a floppy image to boot from and reflash BIOS. That was easy. Anything like this exist these days? Are there any EFI laptops? Any model people would recommend? Thanks Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS / Boot Environments / Jails / Upgrading form Source Code
On 19/10/2012 07:44, dweimer wrote: First step replace the usr/src within the jail with new source using svn, easy enough. Then start make buildworld... oops, I have a problem now, the usr/obj/usr stuff is now under /usr/obj/usr/jails/release91rc2..., However I want it to be under /usr/jails/release91rc2/usr/obj/usr. If the jails base dir is /usr/obj/usr/jails/release91rc2 then it can only access files below that base dir. That is part of the jails security. If your jail is based at /usr/obj/usr/jails/release91rc2 then the jail by default will buildworld into /usr/obj of the jail system which translates to /usr/obj/usr/jails/release91rc2/usr/obj on the base system. You can adjust the settings within the jail but it will always be within the release91rc2 dir so you can't use the jail to install into /usr/jails of the base system. From looking at the usr/src/Makefile It looks like I need to set the MAKEOBJDIRPREFIX=/usr/jails/relase91rc2/usr/obj/usr/src/tmp environment variable, but is that the best solution here? There's also a /usr/obj/lib32 directory (system is running amd64, I assume this is for 32 bit libraries), so I would likely need to do something here as well, that I haven't gotten to yet. lib32 is part of the final system - you don't need to handle it separately. See man src.conf if you want to turn off the creation of 32bit libs. You can set MAKEOBJDIRPREFIX (default /usr/obj ) to define where the binary files are made. You can also set DESTDIR (default is / ) for the installworld step to define where they get installed. When you start a buildworld or buildkernel the compiled binaries are stored within MAKEOBJDIRPREFIX. When that is complete the installworld or installkernel steps install the files from MAKEOBJDIRPREFIX into DESTDIR to create a workable system. That prevents a failed build from destroying part of your running system. If you want to experiment with different versions then you can also try- mkdir /usr/jails cd /usr/jails svn co http://svn0.us-west.FreeBSD.org/base/releng/9.0 9.0-src cd 9.0-src set MAKEOBJDIRPREFIX = /usr/jails/9.0-obj set DESTDIR = /usr/jails/9.0-base make buildworld && make installworld cd /usr/jails svn co http://svn0.us-east.FreeBSD.org/base/releng/9.1 9.1-src cd 9.1-src set MAKEOBJDIRPREFIX = /usr/jails/9.1-obj set DESTDIR = /usr/jails/9.1-base make buildworld && make installworld I know the /usr/obj/usr directory can be deleted after the installation of the source, does the same go for the /usr/obj/lib32 directory? if so Anything in MAKEOBJDIRPREFIX (/usr/obj) can be deleted after you have installed it, including lib32 which are libs to allow running 32bit programs on a 64bit system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pppoe configuration and dns name resolution
On Thu, 18 Oct 2012 20:03:50 +0100, RW wrote: > On Tue, 16 Oct 2012 20:38:47 +0530 > Jack wrote: > > /etc/resolv.conf > > > > # Generated by resolvconf > > nameserver 192.168.1.1 > > If 192.168.1.1 is the modem, how can it be a proxy nameserver? It > doesn't have an internet connection if it's not terminating PPP. > > You have > >ifconfig_fxp0="DHCP" > > which means you are picking up DHCP from the modem itself not the > other side of the PPP link. In bridging mode you only need to > configure the underlying ethernet device if you want to route back-out > into the router's LAN (PPPoE and IP can share a lan). > > You don't necessarily need DHCP with PPPoE because PPP can deliver the > IP address, DNS etc by itself. If the ISP requires you to use DHCP you > should probably have configured the tun0 interface instead of fxp0. Exactly that's what I did describe in my message: Configuration data is set in ppp.conf, no DHCP involved, and the actual IP will be delivered to the tun0 interface, while fxp0 (in this case) can be used for involving with NAT (if required). Setting the nameserver to an _actual_ nameserver (either running named on the machine, or relying on the ISP's nameservers) is required. This is the easiest approach to dealing with PPPoE modems (if they are used as "actual modems" without any additional routing, DHCP or other functionality). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"