freebsd-update
Why do I get a warning if I use freebsd-update about a renewal of my FreeBSD installation within the next two months because after that time it will nog be supported anymore? I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause? ___ 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: sudo log messages
On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: hi I add line to syslog.conf and killall -HUP syslogd Tell me please how to stop sudo to food /var/log/messages? There is a short block for that functionality in the file /usr/local/etc/sudo.conf.sample which you can create your own sudo.conf file from. Also see the notes in man sudo, section SECURITY NOTES. Maybe you'll find something useful in the provided documentation at /usr/local/share/doc/sudo/. -- 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
Re: freebsd-update
Op 4-12-2011 13:03, andrew clarke schreef: From what I understand, the focus is on releasing FreeBSD 9.0, and 8.3 will be released after that. But 9.0 is still in testing. Despite the message, I suspect security updates for 8.2 will still be issued for several months after 8.3 is released, to give people plenty of time to test 8.3 first before upgrading their 8.2 machines. Good to know. Thanks for the answer. I never go to a .0 release on a production server. Probably will switch to 9.1 or 9.2 when it's ready and stay with the 8.x series 'till then. ___ 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: freebsd-update
On Sun, 04 Dec 2011 11:06:29 +0100 Dick Hoogendijk wrote: Why do I get a warning if I use freebsd-update about a renewal of my FreeBSD installation within the next two months because after that time it will nog be supported anymore? I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause? No $ uname -r 8.2-RELEASE-p4 In the above 8.2 is the release and p4 means that it's the fourth update on the 8.2 security branch. freebsd-update is warning you that your release will soon be unsupported, so there will be no more security updates. You need to update to a supported release. http://www.freebsd.org/releng/index.html ___ 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: freebsd-update
On Sun 2011-12-04 11:06:29 UTC+0100, Dick Hoogendijk (d...@nagual.nl) wrote: Why do I get a warning if I use freebsd-update about a renewal of my FreeBSD installation within the next two months because after that time it will nog be supported anymore? Presumably you mean 8.2-RELEASE. http://security.freebsd.org/ says that the estimated EOL (end-of-life) for 8.2-RELEASE is February 29, 2012. Looking at the source code to freebsd-update, the EOL date is fetched from the metadata hosted by the freebsd-update servers. From what I understand, the focus is on releasing FreeBSD 9.0, and 8.3 will be released after that. But 9.0 is still in testing. Despite the message, I suspect security updates for 8.2 will still be issued for several months after 8.3 is released, to give people plenty of time to test 8.3 first before upgrading their 8.2 machines. I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause? If this is true, you may have a separate (possibly additional) problem, but on my 8.2-RELEASE-p4 system, freebsd-update sees I have p4 installed. I still see the above message you describe. uname -r shows p3, however. I understand this is expected behaviour on account of there being no kernel patches between p3 p4. Regards Andrew ___ 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: Jails within different networks ... ?
I've actually done that but the result was jails coming up incredibly slowly and once up basically not wired. I'm gonna check my configuration again and I'll update the mailing list soon. Thanks for you time to you all. On Sat, 2011-12-03 at 21:54 +, Matthew Seaman wrote: On 03/12/2011 17:54, Snoop wrote: I have 3 jails within the host xxx.xxx.26.224 configured in this way (below) and everything works well. What if I want to enable another jail but I don't want to assign to that my next available public ip address xxx.xxx.26.228/24 but I want this jail to have a private ip address like 172.16.1.2/27? Is that possible or it's a delirium? Sure you can do that. Remember the rule though, that the first IP from each different network configured on an interface must use the natural netmask for that network. Second and subsequent addresses from each different network can either use the all-ones (/32) netmask, or the natural netmask. This only changed a few years ago, so there's still a lot of advice going around saying you should use the older all-ones style, but in actuality you can do it which ever of those ways you want and it won't make any functional difference. Cheers, Matthew -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: ING DIRECT Conto Arancio. 4,20% per 12 mesi, zero spese, aprilo in due minuti! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11924d=4-12 ___ 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: sudo log messages
On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: Tell me please how to stop sudo to food /var/log/messages? ADDITION: Of course I meant /usr/local/etc/sutoers, NOT sudo.conf. Instead of logging via syslog (to /var/log/messages), why not use a specific log file for sudo? Add those lines to the sudoers file: Defaults logfile=/var/log/sudo.log Defaults !syslog Make sure /var/log/sudo.log exists, and maybe use newsyslog.conf to deal with log rotation and archiving. However, you can easily purge sudo log information this way, if required. The file /usr/local/share/doc/sudo/sample.sudoers contains an example. -- 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
Re: run radius in debug mode with screen
Hi, Alan while using this verion FreeRADIUS Version 2.1.3, for host i386-portbld-freebsd7.1, built on Jan 6 2009 at 10:52:08 I can run radius as /usr/local/bin/screen -d -m /usr/bin/nice -n -20 /r/radiusd debug What is /r/radiusd debug ? radiusd - is rc script in freebsd. actually it is /usr/local/etc/rc.d/radiusd debug ... extra_commands=reload debug radiusd_debug() { radiusd_flags=-X ${radiusd_flags} run_rc_command start } # ps ax | grep radiusd 51082 1 S 14:17.69 /usr/local/sbin/radiusd -X but with FreeRADIUS Version 2.1.10, for host i386-portbld-freebsd9.0, built on Nov 28 2011 at 00:20:11 it exit without any messages. Can you help me please to resolve this problem? Use the documented command-line options. problem is that that 'radiusd -X' is detached from stdout so now it is impossible to run it in screen =( radiusd: FreeRADIUS Version 2.1.10 uname -a FreeBSD flux 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 :/usr/obj/usr/src/sys/PAE_KES i386 in this radiusd: FreeRADIUS Version 2.1.3 I can run radius in screen -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: ipfw And ping
In freebsd-questions Digest, Vol 391, Issue 10, Message: 25 On Sun, 04 Dec 2011 01:44:53 -0600 Tim Daneliuk tun...@tundraware.com wrote: On 12/04/2011 01:04 AM, Ian Smith wrote: SNIP For one, google 'icmp redirect attack' But isn't that handled by setting: net.inet.icmp.drop_redirect=1 Yes, but generally clearer to allow what you want and drop the rest. # This is the ICMP rule we generally use: # ipfw add 10 allow icmp from any to any in icmptypes 0,3,4,11,12,14,16,18 Hmmm I just tried this and it seems to break ping... That doesn't allow inbound pings, no. Add type 8 if you want to permit inbound pings from anywhere, or use eg my example to do so selectively. If you mean outbound pings, well you still have to allow outbound ICMP after denying what you don't want inbound .. here it is again: $fwadd pass icmp from any to any in recv ${ext_if} ${recv_types} # omit the following line if you included type 8 in $recv_types $fwadd pass icmp from ${pingok} to any in recv ${ext_if} icmptypes 8 $fwadd deny log icmp from any to any in recv ${ext_if} $fwadd pass icmp from any to any# outbound, and inside cheers, Ian (Please cc me; I take questions@ as a digest, can be slow) ___ 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[2]: sudo log messages
Здравствуйте, Polytropon. Вы писали 4 декабря 2011 г., 15:41:45: P On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: Tell me please how to stop sudo to food /var/log/messages? P ADDITION: Of course I meant /usr/local/etc/sutoers, P NOT sudo.conf. P Instead of logging via syslog (to /var/log/messages), P why not use a specific log file for sudo? Add those P lines to the sudoers file: P Defaults logfile=/var/log/sudo.log P Defaults !syslog P Make sure /var/log/sudo.log exists, and maybe use P newsyslog.conf to deal with log rotation and archiving. P However, you can easily purge sudo log information P this way, if required. P The file /usr/local/share/doc/sudo/sample.sudoers P contains an example. yes, that is not problem, but I want to control logging in one place not in each config file of service I have ran on machine. I have thought that this !sudo *.* /var/log/sudo.log will take off logging in /var/log/messages but this work as log to /var/log/messages and to /var/log/sudo.log =(( -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
proper syntax for wifi
Ok I have a wireless interface ath0 and a wired re0 interface. I would like to have hostapd running on the wireless interface and allow access to the wired network also. For the most part I have this working on most systems with one exception, one of my clients cant connect I am getting deauthenticated due to local request in my logs, and another windows machine had the same issues until I updated the wifi driver to the latest version which solved the problem on the win machine. Here is the error I am getting wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: associated Dec 4 09:40:23 gateway hostapd: wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: deauthenticated due to local deauth request Dec 4 09:40:23 gateway hostapd: wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: deassociated I also don't know ifs right to assign an ip to a bridge or not, maybe someone can look at this and make some suggestions Cause I am all googled out or ideas. ifconfig -a re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3899RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST, WOL_MAGIC ether 90:fb:a6:ed:74:a6 inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (1000baseT full-duplex) status: active ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:c0:ca:1f:4a:d7 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap status: running plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=3RXCSUM,TXCSUM inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 inet 127.0.0.254 netmask 0x nd6 options=3PERFORMNUD,ACCEPT_RTADV bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 02:b5:34:b6:3f:00 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: wlan0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 11 priority 128 path cost 370370 member: re0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 55 wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:c0:ca:1f:4a:d7 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap status: running ssid Gateway channel 11 (2462 MHz 11g) bssid 00:c0:ca:1f:4a:d7 country US ecm authmode WPA privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit txpower 22.5 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs This is my rc.conf cat /etc/rc.conf hostname=gateway.vagner.com defaultrouter=192.168.0.1 gateway_enable=YES sshd_enable=YES wlans_ath0=wlan0 create_args_wlan0=wlanmode hostap ifconfig_wlan0=inet 192.168.0.2 netmask 255.255.255.0 mode 11g channel 11 hostapd_enable=YES ifconfig_re0=inet 192.168.0.3 netmask 255.255.255.0 up cloned_interfaces=bridge0 ifconfig_bridge0=addm re0 addm wlan0 routed_enable=YES webmin_enable=YES winbind_enable=YES dhcpd_enable=YES # dhcpd enabled? #dhcpd_flags=-q# command option(s) #dhcpd_conf=/usr/local/etc/dhcpd.conf # configuration file dhcpd_ifaces=wlan0 re0 # ethernet interface(s) #dhcpd_withumask=022 # file creation mask inetd_enable=YES ntpdate_enable=NO ntpdate_enable=NO xntpd_program=/usr/local/bin/ntpd xntpd_flags=-A -g -N -c /etc/ntp.conf -p /var/run/ntpd.pid -l /var/log/ntpd.log named_enable=YES cupsd_enable=YES and my /etc/hostapd.conf file cat /etc/hostapd.conf # hostapd configuration file ## # Empty lines and lines starting with # are ignored # AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for # management frames); ath0 for madwifi interface=wlan0 # In case of madwifi and nl80211 driver interfaces, an additional configuration # parameter, bridge, must be used to notify hostapd if the interface is # included in a bridge. This parameter is not used with Host AP driver. #bridge=br0 # Driver interface type (hostap/wired/madwifi/prism54/test/none/nl80211/bsd); # default: hostap). nl80211 is used with all Linux mac80211 drivers. # Use driver=none if building hostapd as a standalone RADIUS server that does # not control any wireless/wired driver. # driver=hostap # hostapd event logger configuration # # Two output method: syslog and stdout (only usable if not forking to # background). # # Module bitfield (ORed bitfield of modules that will be logged; -1 = all # modules): # bit
Re: Major version changes using portupgrade?
On 2011/12/04, at 02:29, Sergio Tam wrote: === postgresql-client-9.1.1_1 conflicts with installed package(s): postgresql-client-8.4.8 They will not build together. Please remove them first with pkg_delete(1). pay attention here *** Error code 1 postgresql-client-8.4.8 make deinstall That's the ports makefiles talking, isn't it? In order to do that deinstall I need to also remove all of the things that depend on it... portupgrade is supposed to help me do the in-place upgrade without removing everything else first. Even if I forced the deinstall without letting the dependencies get in the way, wouldn't that break the dependency registration (+REQUIRED_BY) for all of those packages in the future? ___ 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: sudo log messages
Коньков Евгений kes-...@yandex.ru writes: Здравствуйте, Polytropon. Вы писали 4 декабря 2011 г., 15:41:45: P On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: Tell me please how to stop sudo to food /var/log/messages? P ADDITION: Of course I meant /usr/local/etc/sutoers, P NOT sudo.conf. P Instead of logging via syslog (to /var/log/messages), P why not use a specific log file for sudo? Add those P lines to the sudoers file: P Defaults logfile=/var/log/sudo.log P Defaults !syslog P Make sure /var/log/sudo.log exists, and maybe use P newsyslog.conf to deal with log rotation and archiving. P However, you can easily purge sudo log information P this way, if required. P The file /usr/local/share/doc/sudo/sample.sudoers P contains an example. yes, that is not problem, but I want to control logging in one place not in each config file of service I have ran on machine. I have thought that this !sudo *.* /var/log/sudo.log will take off logging in /var/log/messages but this work as log to /var/log/messages and to /var/log/sudo.log =(( You are not clear about what you really want. If you want it to log to auth.log instead of messages, then you can use the following in your sudoers file: Defaults syslog=authpriv The sample file that was mentioned earlier is one source for information, but the best source is the sudoers(5) man page. Just search it for syslog and you will find several settings. -- Carl Johnsonca...@peak.org ___ 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
FreeBSD Gateway, Crossover
Hello, I'm trying to setup a small home network, It consists of my FreeBSD 9.0-RC2 box connected to my modem (just a modem, not modem/router) and two other systems connected directly via ethernet to the freebsd box. I'm able to connect to the internet with the FreeBSD box. I can get an IP via DHCP from my ISP. However, I can't seem to figure out how to setup the gateway routes and the IP addresses for the other system. I'd like to have the internal network be on 192.168.1.0/24. I have 2x 2-port NICs in the freebsd box. em0 - Internet - 1.2.3.4 em1 - System1 - 192.168.1.1 em2 - System2 - 192.168.1.2 I'm kindof lost here. I've played with it a bit, trying to set 192.168.1.0/24 on em1 and em2, then setting the specific IP address on system1 and system2 respectively. I've also tried manually adding routes from 192.168.1.0/24 to 1.2.3.4 (my external IP) to no avail. The system1/2 boxes cannot ping the freebsd box, nor vise-versa. That implies it's not a routing problem, but a problem with the systems getting a proper IP address. Anyone have any tips? Thanks. ___ 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: FreeBSD Gateway, Crossover
Hello, El día Sunday, December 04, 2011 a las 01:21:58PM -0500, APseudoUtopia escribió: Hello, I'm trying to setup a small home network, It consists of my FreeBSD 9.0-RC2 box connected to my modem (just a modem, not modem/router) and two other systems connected directly via ethernet to the freebsd box. I'm able to connect to the internet with the FreeBSD box. I can get an IP via DHCP from my ISP. However, Does this mean that you do PPP via the modem? If so, you should have some interface tunN with the IP assigned by the ISP. I can't seem to figure out how to setup the gateway routes and the IP addresses for the other system. you must enable gateway in the rc.conf file with: gateway_enable=YES I'd like to have the internal network be on 192.168.1.0/24. I have 2x 2-port NICs in the freebsd box. em0 - Internet - 1.2.3.4 em1 - System1 - 192.168.1.1 em2 - System2 - 192.168.1.2 if you connect the two other boxes directly to the NICs of FreeBSD you must use crossover cables and should assign to each connection a separate network; or you connect all three boxes via a HUB or switch in only one network; the other boxes should have the FreeBSD as default gateway in their routing and in the FreeBSD you must use IPF and IPNAT to hide your network(s) behind the tunN interface's IP addr; I do this at home too having attached by Linux based cellphone via USB networking and this has access to Internet through the FreeBSD laptop; HIH matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ 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: Major version changes using portupgrade?
On 04/12/2011 17:16, Matthew Pounsett wrote: On 2011/12/04, at 02:29, Sergio Tam wrote: === postgresql-client-9.1.1_1 conflicts with installed package(s): postgresql-client-8.4.8 They will not build together. Please remove them first with pkg_delete(1). pay attention here *** Error code 1 postgresql-client-8.4.8 make deinstall That's the ports makefiles talking, isn't it? In order to do that deinstall I need to also remove all of the things that depend on it... portupgrade is supposed to help me do the in-place upgrade without removing everything else first. Even if I forced the deinstall without letting the dependencies get in the way, wouldn't that break the dependency registration (+REQUIRED_BY) for all of those packages in the future? Yes. I've been planning a very similar update -- postgresql 9.0 to 9.1 -- and what I've come up with so far is this: 0) Backup *everything* 1) Stop postgresql daemon and any services that depend on postgresql 2) Move the postgresql data directory aside: # mv ~pgsql/data ~pgsql/data-9.0.5 3) Optional. If you have WITH_PGSQL_VER defined in /etc/make.conf, or similar update it at this point. Or delete it -- ports will pick up the new version automatically once you've updated to it. 4) Now for the updating bit. I'm going to use portmaster's '-o' functionality to swap out the postgresql versions. (portupgrade has very similar functionality if you prefer that.) postgresql is trickier than most, because there have to be both -server and -client ports to deal with. I also have postgresql-contrib-9.0.5 installed, which isn't critical but needs similar treatment. Everything depends on the -client port, so we start with that: # portmaster -o databases/postgresql91-client \ postgresql-client-9.0.5 # portmaster -o databases/postgresql91-server \ postgresql-server-9.0.5_1 # portmaster -o databases/postgresql91-contrib \ postgresql-contrib-9.0.5 5) Now rebuild everything that depends on the new postgresql client port. Use '-x' and '-R' to avoid rebuilding the ports already updated # portmaster -R -r postgresql-client-9.1.1_1 \ -x postgresql-server-9.1.1_1 -x postgresql-contrib-9.1.1_1 6) Re-init the postgresql cluster # su - pgsql % mkdir ~/data % initdb -D ~/data -E utf8 --locale C (or use the rc.d script) % vi ~/data/postgresql.conf(etc...) 7) Restart the postgresql database # /usr/local/etc/rc.d/postgresql start 8) Reload databases from backup. Restart all dependent services. 9) ??? 10) Profit! This does require an appreciable period of system downtime, but as that's fine for my purposes, I haven't put any effort into thinking about how to minimize that. A good thing to do if downtime is a big deal for you would be to build updated packages of everything postgresql related off-line and use portmaster's '-P' package mode to install them. Similarly, make backup packages of everything you're updating (pkg_create -b pkgname) so if you need to back everything out you can just swap those packages back in rather than doing a full-scale recovery from backup. Using this method for a very big database is not amazingly practical -- in that case, using pg_upgrade(8) would probably be preferable, but that's not going to entirely simple given the constraints of the ports system. You'll need to have both the previous and target versions of the postgresql-client and postgresql-contrib installed simultaneously, but those ports all conflict with each other. You'll also need to have two separate data directories -- the original one and one for the new version. The default layout on Linux nowadays includes the postgresql major version in the data directory path and in the names of most conflicting applications, but this capability hasn't come to the ports yet. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: FreeBSD Gateway, Crossover
On 04/12/2011 18:43, Matthias Apitz wrote: I'd like to have the internal network be on 192.168.1.0/24. I have 2x 2-port NICs in the freebsd box. em0 - Internet - 1.2.3.4 em1 - System1 - 192.168.1.1 em2 - System2 - 192.168.1.2 if you connect the two other boxes directly to the NICs of FreeBSD you must use crossover cables and should assign to each connection a separate network; or you connect all three boxes via a HUB or switch in only one network; Or create a bridge spanning em1 and em2 -- this will make your FreeBSD box act pretty much like a network switch for the two client machines. You can get away with standard cables if all the NICs involved support auto-MDIX. em(4) should, but it depends on your other kit. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Major version changes using portupgrade?
On 2011/12/04, at 14:13, Matthew Seaman wrote: 4) Now for the updating bit. I'm going to use portmaster's '-o' functionality to swap out the postgresql versions. (portupgrade has very similar functionality if you prefer that.) postgresql is trickier than most, because there have to be both -server and -client ports to deal with. I also have postgresql-contrib-9.0.5 installed, which isn't critical but needs similar treatment. Everything depends on the -client port, so we start with that: # portmaster -o databases/postgresql91-client \ postgresql-client-9.0.5 # portmaster -o databases/postgresql91-server \ postgresql-server-9.0.5_1 # portmaster -o databases/postgresql91-contrib \ postgresql-contrib-9.0.5 This is the problem bit. The -o doesn't work with the ones I'm dealing with because of conflicts between 8.4 and 9.1. 9.1 *won't even build*. If you can find a way to get around that, then you can make life even easier for yourself by doing a recursive build of all of the things that depend on the client. It's getting around the conflict that I'm trying to figure out... the rest is handled. And by the way, if you're not already doing a recursive build then you can do the server upgrade more simply.. there are no dependencies attached to the server (normally) so you can just pkg_delete it and install 9.1. ___ 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: Major version changes using portupgrade?
On 2011/12/02, at 05:19, Matthew Pounsett wrote: I was expecting the following to work: sudo portupgrade -rf -o databases/postgresql91-client databases/postgresql84-client However, I'm running into a problem where the ports makefiles, and by extension portupgrade, are detecting that the two packages conflict, and so the 9.1 client won't even build[1]. Thanks to those who tried to help. After poking around in the Mk files A LOT, I eventually stumbled upon a solution. Not sure if this is right or not, but it worked: sudo portupgrade -M DISABLE_CONFLICTS=1 -rf -o databases/postgresql91-client databases/postgresql84-client Surprisingly, despite the -f, none of the dependencies were rebuilt.. I got warnings like this instead, for every dependency: --- Skipping 'databases/postgresql91-client' (apache-2.2.21) because it has already done However, the +REQUIRED_BY file was still rebuilt properly for the 9.1 client, so I can now easily go through and do dependency rebuilds as necessary. Cheers, Matt ___ 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: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?
A question i've got is where i can find the default PACKAGESITE value? ___ 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: Jails within different networks ... ?
Just an update. It seems to be working well. The jail startup slowness I believe is due to the fact that the DNS is still down. Thanks for your time. ### host rc.conf related section ifconfig_lagg0=laggproto failover laggport bge0 laggport bge1 xxx.xxx.26.224/24 ifconfig_lagg0_alias_0=inet xxx.xxx.26.225/32 ifconfig_lagg0_alias_1=inet xxx.xxx.26.226/32 ifconfig_lagg0_alias_2=inet xxx.xxx.26.227/32 ifconfig_lagg0_alias_3=inet 172.16.3.2/27 ifconfig_lagg0_alias_4=inet 172.16.3.3/27 ifconfig_lagg0_alias_5=inet 172.16.3.4/27 ifconfig_lagg0_alias_6=inet 172.16.3.5/27 ifconfig_lagg0_alias_7=inet 172.16.3.6/27 ### ifconfig related output lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8009bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE ether 00:14:5e:ee:2b:c0 inet xxx.xxx.26.224 netmask 0xff00 broadcast xxx.xxx.26.255 inet xxx.xxx.26.225 netmask 0x broadcast xxx.xxx.26.225 inet xxx.xxx.26.226 netmask 0x broadcast xxx.xxx.26.226 inet xxx.xxx.26.227 netmask 0x broadcast xxx.xxx.26.227 inet 172.16.3.2 netmask 0x broadcast 172.16.3.2 inet 172.16.3.3 netmask 0x broadcast 172.16.3.3 inet 172.16.3.4 netmask 0x broadcast 172.16.3.4 inet 172.16.3.5 netmask 0x broadcast 172.16.3.5 inet 172.16.3.6 netmask 0x broadcast 172.16.3.6 media: Ethernet autoselect status: active laggproto failover laggport: bge1 flags=0 laggport: bge0 flags=5MASTER,ACTIVE -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Conto Arancio al 4,20%. Soldi sempre disponibili, zero spese, aprilo in due minuti! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11920d=4-12 ___ 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: FreeBSD Gateway, Crossover
From: APseudoUtopia apseudouto...@gmail.com Hello, I'm trying to setup a small home network, It consists of my FreeBSD 9.0-RC2 box connected to my modem (just a modem, not modem/router) and two other systems connected directly via ethernet to the freebsd box. I'm able to connect to the internet with the FreeBSD box. I can get an IP via DHCP from my ISP. However, I can't seem to figure out how to setup the gateway routes and the IP addresses for the other system. I'd like to have the internal network be on 192.168.1.0/24. I have 2x 2-port NICs in the freebsd box. em0 - Internet - 1.2.3.4 em1 - System1 - 192.168.1.1 em2 - System2 - 192.168.1.2 I'm kindof lost here. I've played with it a bit, trying to set 192.168.1.0/24 on em1 and em2, then setting the specific IP address on system1 and system2 respectively. I've also tried manually adding routes from 192.168.1.0/24 to 1.2.3.4 (my external IP) to no avail. The system1/2 boxes cannot ping the freebsd box, nor vise-versa. That implies it's not a routing problem, but a problem with the systems getting a proper IP address. Anyone have any tips? Other than don't do it that way, you mean? grin Having two different interfaces with the same 'network' configuration, Where either address -cannot- reach *every* host on that 'network' Recommendation: IP addresses: Assign em1 192.168.1.1/24 Assign em2 129.168.2.1/24 Assign System1 192.168.1.2/24 Assign System2 192.168.2.2/24 Routing: System1; default route 192.168.1.1 System2; default route 192.168.2.1 Server: default route 1.2.3.4 (should have auto routes for 192.68.1.0/24 and 192.68.2.0/24) If you _really_ want everything on the same internal network, the easiest way is to put in an ethernet hub/switch, and connect everything to that hub/switch -- only 1 interface per device. ___ 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: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?
2011/12/4, Hugh bo...@gmail.com: A question i've got is where i can find the default PACKAGESITE value? FreeBSD comes with the default mirror (ftp), see when you use pkg_add, in my case it failed, is the reason because i changed to the mirror (ftp), you can use diferent ftp ftp://ftp.freebsd.org/pub/FreeBSD/ -- Edguitar ;) http://cybernautape.blogspot.com ___ 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: I am FreeBSD user.
On Sun, 4 Dec 2011 15:15:42 -0800 (PST), masayoshi wrote: Why can I select other operation's man page on our FreeBSD webisite? Why not? :-) I'd be happy to have a centralized reference for UNIX and Linux system in one web page. Is it for Linux emulator? At least you can apply it there. Also note that there are manuals for OpenBSD, SunOS, ULTRIX or HP-UX which are definitely not related to the Linux emulation (which is an alternative binary interface - ABI - on FreeBSD). -- 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
Re: FreeBSD Gateway, Crossover
APseudoUtopia wrote: Hello, I'm trying to setup a small home network, It consists of my FreeBSD 9.0-RC2 box connected to my modem (just a modem, not modem/router) and two other systems connected directly via ethernet to the freebsd box. I'm able to connect to the internet with the FreeBSD box. I can get an IP via DHCP from my ISP. However, I can't seem to figure out how to setup the gateway routes and the IP addresses for the other system. I'd like to have the internal network be on 192.168.1.0/24. I have 2x 2-port NICs in the freebsd box. em0 - Internet - 1.2.3.4 em1 - System1 - 192.168.1.1 em2 - System2 - 192.168.1.2 I'm kindof lost here. I've played with it a bit, trying to set 192.168.1.0/24 on em1 and em2, then setting the specific IP address on system1 and system2 respectively. I've also tried manually adding routes from 192.168.1.0/24 to 1.2.3.4 (my external IP) to no avail. The system1/2 boxes cannot ping the freebsd box, nor vise-versa. That implies it's not a routing problem, but a problem with the systems getting a proper IP address. Anyone have any tips? Thanks. www.a1poweruser.com web site has details instructions on how to do it. Check it out. ___ 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: dead; need help reconnecting
On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: Date: Fri, 2 Dec 2011 20:00:25 -0600 From: Ryan Coleman edi...@d3photography.com Subject: Re: dead; need help reconnecting To: FreeBSD Questions freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ ryan, by dead i meant that i had 0.0 connection to the net. long-story-short, it was indeed the telephone company's modem that blew out. they were able to get one circuit working, and they were content with that. but i was still dead. this morning a telco technician [and friend] dropped by with his tools and after several calls to the office for my IP's and other info got me back online. I have no idea how their router/modem works; i have no idea how they were able to get my wife's PC back, much less my entire domain. (this is further OT, but FWIW, one guy suggested that a power surge may have broken the modem/router. 30-35 years ago a =real= modem ran at 1200 baud and was lightening fast. obviously, i haven't kept up... .) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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: I am FreeBSD user.
On Sun, 4 Dec 2011, masayoshi wrote: When I was looking for sudo, I noticed a weired thing. http://www.freebsd.org/cgi/man.cgi?query=sudoapropos=0sektion=0manpath=Red+Hat+Linux%2Fi386+9arch=defaultformat=html http://www.freebsd.org/cgi/man.cgi?query=sudoapropos=0sektion=0manpath=SuSE+Linux%2Fi386+ES+10+SP1arch=defaultformat=html I am FreeBSD user. 3 I hate Linux. lol Why can I select other operation's man page on our FreeBSD webisite? Is it for Linux emulator? Could be. It's also really useful to see what the options to Linux commands do when trying to adapt or convert something. ___ 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
portsnap broken
Never had a problem before Freebsd 8.2 a couple weeks ago, on virgin 8.2, initial run of portsnap fetch extract ... ran great, and a couple of updates since then, also. but today: # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Sun Dec 4 15:26:46 CET 2011 to Mon Dec 5 02:05:11 CET 2011. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 27 patches.1020... done. Applying patches... done. Fetching 2 new ports or files... done. # portsnap update Removing old files and directories... done. Extracting new files: /usr/ports/MOVED /usr/ports/Mk/bsd.sites.mk /usr/ports/Mk/bsd.wx.mk /usr/ports/archivers/rpm4/ /usr/ports/astro/google-earth/ /usr/ports/astro/match/ /usr/ports/astro/xearth/ /usr/ports/astro/xtide/ /usr/ports/audio/audacity-devel/ /usr/ports/audio/thunar-media-tags-plugin/ /usr/ports/cad/brlcad/ /usr/ports/chinese/Makefile /usr/ports/chinese/opencc/ /usr/ports/comms/Makefile /usr/ports/comms/p5-SMS-Send-NexmoUnicode/ /usr/ports/converters/enca/ /usr/ports/databases/msql3/ /usr/ports/databases/p5-DBD-ODBC/ /usr/ports/databases/p5-DBD-SQLite/ /usr/ports/databases/p5-DBIx-Inspector/ /usr/ports/databases/pecl-rrd/ /usr/ports/databases/phpmyadmin/ /usr/ports/databases/postgresql-jdbc/ /usr/ports/databases/redis/ /usr/ports/deskutils/gtg/ /usr/ports/devel/Makefile /usr/ports/devel/bglibs/ /usr/ports/devel/binutils/ /usr/ports/devel/fistgen/ /usr/ports/devel/glui/ /usr/ports/devel/imake/ /usr/ports/devel/libdombey/ /usr/ports/devel/mdds/ /usr/ports/devel/mingw32-libffi/ /usr/ports/devel/mingw32-libyaml/ /usr/ports/devel/mingw32-zlib/ /usr/ports/devel/p4v/ /usr/ports/devel/p5-App-cpanminus/ /usr/ports/devel/p5-CHI/ /usr/ports/devel/p5-Config-Model/ /usr/ports/devel/p5-FindBin-libs/ /usr/ports/devel/p5-Sepia/ /usr/ports/devel/p5-Test-SharedFork/ /usr/ports/devel/py-urwid/ /usr/ports/devel/rubygem-chronic/ /usr/ports/devel/rubygem-columnize/ /usr/ports/devel/rubygem-devise/ /usr/ports/devel/rubygem-gemcutter/ /usr/ports/devel/rubygem-hoe/ /usr/ports/devel/rubygem-jammit/ /usr/ports/devel/rubygem-json/ /usr/ports/devel/rubygem-json_pure/ /usr/ports/devel/rubygem-little_plugger/ /usr/ports/devel/rubygem-minitest/ /usr/ports/devel/rubygem-multi_json/ /usr/ports/devel/rubygem-sequel/ /usr/ports/devel/rubygem-sexp_processor/ /usr/ports/devel/rubygem-tins/ /usr/ports/devel/valgrind/ /usr/ports/devel/websvn/ /usr/ports/devel/zziplib/ /usr/ports/dns/dnsjava/ /usr/ports/dns/rubygem-dnsruby/ /usr/ports/editors/paredit-mode.el/ /usr/ports/emulators/qemu-devel/ /usr/ports/emulators/virtualbox-ose-additions/ /usr/ports/emulators/virtualbox-ose-kmod/ /usr/ports/emulators/virtualbox-ose/ /usr/ports/emulators/wine/ /usr/ports/ftp/R-cran-RCurl/ files/260946d9401adc15de38730058d50c9798d7cb6a547da435f7308f9fb0515670.gz not found -- snapshot corrupt. Len ___ 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: portsnap broken
2011/12/4 Len Conrad lcon...@go2france.com: Never had a problem before Freebsd 8.2 a couple weeks ago, on virgin 8.2, initial run of portsnap fetch extract ... ran great, and a couple of updates since then, also. but today: # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Sun Dec 4 15:26:46 CET 2011 to Mon Dec 5 02:05:11 CET 2011. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 27 patches.1020... done. Applying patches... done. Fetching 2 new ports or files... done. # portsnap update Removing old files and directories... done. Extracting new files: /usr/ports/emulators/virtualbox-ose-additions/ /usr/ports/emulators/virtualbox-ose-kmod/ /usr/ports/emulators/virtualbox-ose/ /usr/ports/emulators/wine/ /usr/ports/ftp/R-cran-RCurl/ files/260946d9401adc15de38730058d50c9798d7cb6a547da435f7308f9fb0515670.gz not found -- snapshot corrupt. Len rm -rf /var/db/portsnap/* portsnap fetch portsnap extract update Regards ___ 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: I am FreeBSD user.
- Original Message - From: Warren Block wbl...@wonkity.com To: masayoshi rocksta...@y7mail.com Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Monday, 5 December 2011 10:42 AM Subject: Re: I am FreeBSD user. On Sun, 4 Dec 2011, masayoshi wrote: When I was looking for sudo, I noticed a weired thing. http://www.freebsd.org/cgi/man.cgi?query=sudoapropos=0sektion=0manpath=Red+Hat+Linux%2Fi386+9arch=defaultformat=html http://www.freebsd.org/cgi/man.cgi?query=sudoapropos=0sektion=0manpath=SuSE+Linux%2Fi386+ES+10+SP1arch=defaultformat=html I am FreeBSD user. 3 I hate Linux. lol Why can I select other operation's man page on our FreeBSD webisite? Is it for Linux emulator? Could be. It's also really useful to see what the options to Linux commands do when trying to adapt or convert something. Thank you very much. Our freebsd users are open-minded. Now, I could understand about it. --- Inexperienced FreeBSD user: Level 4 masayoshi Ayumi Kinoshita http://tinyurl.com/63zg3op ___ 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: dead; need help reconnecting
They probably switched it from NAT to passthru with only 2 IPs. But that's not your problem to figure out. What you need to do is what the error is from: Check the following: 1) Computer (is one computer having an issue or could one computer be the CAUSE of the issue?) 2) Cabling - is there a bad Ethernet cable. Replace any custom cables with prefab. You'd be amazed how many problems come from bad cuts. 3) Networking layer - is there a bad NIC or switch? - you've had this problem before. 4) When you bring the network to one device - can you get online? Can someone ping your public IP address from somewhere else? 5) Is the Telco in the midst of an outage or did hardware fail? There is more to those 5 items but they are great ones to work from. 9 times out of 10 it's somewhere under #1. Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. Feel free to install it and connect to d3photography.com:3551 -- Ryan On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: Date: Fri, 2 Dec 2011 20:00:25 -0600 From: Ryan Coleman edi...@d3photography.com Subject: Re: dead; need help reconnecting To: FreeBSD Questions freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ ryan, by dead i meant that i had 0.0 connection to the net. long-story-short, it was indeed the telephone company's modem that blew out. they were able to get one circuit working, and they were content with that. but i was still dead. this morning a telco technician [and friend] dropped by with his tools and after several calls to the office for my IP's and other info got me back online. I have no idea how their router/modem works; i have no idea how they were able to get my wife's PC back, much less my entire domain. (this is further OT, but FWIW, one guy suggested that a power surge may have broken the modem/router. 30-35 years ago a =real= modem ran at 1200 baud and was lightening fast. obviously, i haven't kept up... .) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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 ___ 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: dead; need help reconnecting
On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote: Date: Sun, 4 Dec 2011 21:56:57 -0600 From: Ryan Coleman edi...@d3photography.com Subject: Re: dead; need help reconnecting To: Gary Kline kl...@thought.org Cc: FreeBSD Questions freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) They probably switched it from NAT to passthru with only 2 IPs. But that's not your problem to figure out. What you need to do is what the error is from: Check the following: 1) Computer (is one computer having an issue or could one computer be the CAUSE of the issue?) 2) Cabling - is there a bad Ethernet cable. Replace any custom cables with prefab. You'd be amazed how many problems come from bad cuts. 3) Networking layer - is there a bad NIC or switch? - you've had this problem before. 4) When you bring the network to one device - can you get online? Can someone ping your public IP address from somewhere else? 5) Is the Telco in the midst of an outage or did hardware fail? it turned out that the modem was at fault. the first time, the tech fixed it partially. by installing a NEW modem [router], i was back on. so is everything else that runs thru my switch. (((this time, very soon--say in the morning, my time--i'm going to plug the router into my surge protector. just because it msy prevent another fault.))) gary There is more to those 5 items but they are great ones to work from. 9 times out of 10 it's somewhere under #1. Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. Feel free to install it and connect to d3photography.com:3551 -- Ryan On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: Date: Fri, 2 Dec 2011 20:00:25 -0600 From: Ryan Coleman edi...@d3photography.com Subject: Re: dead; need help reconnecting To: FreeBSD Questions freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ ryan, by dead i meant that i had 0.0 connection to the net. long-story-short, it was indeed the telephone company's modem that blew out. they were able to get one circuit working, and they were content with that. but i was still dead. this morning a telco technician [and friend] dropped by with his tools and after several calls to the office for my IP's and other info got me back online. I have no idea how their router/modem works; i have no idea how they were able to get my wife's PC back, much less my entire domain. (this is further OT, but FWIW, one guy suggested that a power surge may have broken the modem/router. 30-35 years ago a =real= modem ran at 1200 baud and was lightening fast. obviously, i haven't kept up... .) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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: dead; need help reconnecting
On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote: Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. I've had a UPS for 22 months. it has saved my server from disaster five or 6 timed [[and you thought that the power grid here in settle was beyond good?? Bah, humbug.]] Feel free to install it and connect to d3photography.com:3551 how exactly? no, gimmee a few decades to recover from thin trauma ! mumble. -- Ryan On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: Date: Fri, 2 Dec 2011 20:00:25 -0600 From: Ryan Coleman edi...@d3photography.com Subject: Re: dead; need help reconnecting To: FreeBSD Questions freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ ryan, by dead i meant that i had 0.0 connection to the net. long-story-short, it was indeed the telephone company's modem that blew out. they were able to get one circuit working, and they were content with that. but i was still dead. this morning a telco technician [and friend] dropped by with his tools and after several calls to the office for my IP's and other info got me back online. I have no idea how their router/modem works; i have no idea how they were able to get my wife's PC back, much less my entire domain. (this is further OT, but FWIW, one guy suggested that a power surge may have broken the modem/router. 30-35 years ago a =real= modem ran at 1200 baud and was lightening fast. obviously, i haven't kept up... .) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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 ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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