Re: /etc/resolv.conf with 3 nameservers
[EMAIL PROTECTED] wrote: Hi, The man page of resolv.conf claims: The different configuration options are: nameserver Internet address (in dot notation) of a name server that the resolver should query. Up to MAXNS (currently 3) name servers may be listed, one per keyword I've three DNS server in my /etc/resolv.conf in 6.0-REL: $ cat /etc/resolv.conf domain Sisis.de nameserver 10.0.1.201 nameserver xxx.xxx.xxx.xxx nameserver yyy.yyy.yyy.yyy But only the 1st one (10.0.1.201) is contacted to make the name lookup (I've checked this with trussing a 'ping whatever.domain.com') and if it does not know the addr, while the second one would know it, it does not resolve. Do I miss something? Thx matthias I think the problem is that once your first server responds with a domain not found, that's considered an answer to your query. It doesn't try another DNS server just to see if it gets a different answer. If you were to disable the DNS server on 10.0.1.201, then it would use xxx.xxx.xxx.xxx or yyy.yyy.yyy.yyy to resolve the query. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not flowing
Joy Williams wrote: I have 690 emails in queue and cannot get them out. Amavisd will not start - It appears to but if I enter the stop command it displays a message that it is not running. I have rerouted my email so that it does not run through Freebsd for now; however I need to get the emails out of the queue. Is there a way to force them out? Joy Williams Control Systems Research 850-689-3284 After running the amavisd startup script (/etc/rc.d/amavisd start in my case), what do you see in /var/log/maillog? -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smb startup
spen wrote: Thank you for you answer but unfortunately this didn't work either... if I ps -auwx |grep mbd I get nothing running If I manually start the script : avid# /usr/local/etc/rc.d/samba.sh start Starting SAMBA: removing stale tdbs : Starting nmbd. Starting smbd. avid# avid# avid# ps -auwx | grep mbd root558 0.0 1.1 4828 2712 ?? Ss1:25PM 0:00.01 /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf root562 0.0 1.8 7492 4500 ?? Ss1:25PM 0:00.01 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf root564 0.0 1.8 7492 4488 ?? S 1:25PM 0:00.00 /usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf ##my rc.conf## avid# cat /etc/rc.conf # -- sysinstall generated deltas -- # Thu Mar 16 18:21:31 2006 # Created: Thu Mar 16 18:21:31 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=10.10.10.1 hostname=avid.e-global.gr ifconfig_xl0=inet 10.10.10.10 netmask 255.255.255.240 sshd_enable=YES usbd_enable=YES ###samba start### smbd_enable=YES nmbd_enable=YES Riemer Palstra [EMAIL PROTECTED] wrote: On Wed, Mar 22, 2006 at 02:10:00AM -0800, spen wrote: ###samba start### samba_enable=YES should I be adding something else to my rc.conf? Try these instead: smbd_enable=YES nmbd_enable=YES The only thing you need in rc.conf is samba_enable=YES. If you do a dmesg -a, do you see any Samba related startup errors? If not, how about the log files in /var/log/samba? It sounds like Samba is failing at startup because it requires something that's not available yet (like DNS). After your machine is finished booting, it has the environment it requires. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FYI: Threading Messages Correctly on Thunderbird
Jarrod wrote: Hi Ken David, Ken, can you tell me if you are receiving FreeBSD mail messages individually, or in the digest format? I think the problems I was having with threading my replies properly were related to the fact I receive my messages in digest format. Cheers, Jarrod. I get the messages individually. What's the digest format? By the way, I had to change the To: address in my reply because the Reply To header in your post was addressed to: [EMAIL PROTECTED] -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FYI: Threading Messages Correctly on Thunderbird
Jarrod wrote: Dear All, Just a quick one for the benefit of anyone who might be using Thunderbird to send emails to the freebsd mailing lists. Thanks to the postmaster for his/her help on this one. It seems that in order to have your replies to a topic threaded correctly you need to add a second field to your message header block labelled Reply-To. This can be selected from the drop down list that appears if you click To on the left side of a header block entry. (Same as making CC, BCC fields, etc.) On the right side of the Reply-To entry, paste the Message-ID of the message you wish to reply to. This is present for every message when receiving in the digest form. (Not sure about receiving messages one-by-one. You might need to go View - Headers - All in order to see the Message-ID?) Be sure to include the leading and trailing angle brackets (ie. the less-than and greater-than signs) !! Cheers, Jarrod. Is this reply threaded correctly? I sent it using Thunderbird doing nothing more than clicking Reply All. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems using the GUI
Kris Wieschhaus wrote: I've been using FreeBSD for about a month now as I will be presenting it to my class in a couple of weeks. I am having a problem getting the the Windows X System to work. I have been trying for the last 2 weeks to get it to work. I have looked in the FAQ's section and the FreeBSD Handbook, but I am still unsuccessful. When I run startx I get (EE) Failed to load module fbdev (module does not exist, 0) (EE) default pointer: Cannot find which device to use. (EE) xf860OpenSerial: No Device specified (EE) default pointer: cannot open input device (EE) PreInit failed for input device default pointer No core Pointer Fatal server error: failed to initialize core devices fbdev sounds like the Linux frame buffer device. What's fbdev doing in a nice operating system like FreeBSD? -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System Still Freezing
Grant Peel wrote: Hi all, Another chapter in the life (and death), of my Dell PE 1850. As you may be aware, I have a PE 1850 that has started to intermitantly freeze (this all started Feb 23rd). SOmetimes, it will run for 2 days, then freeze, sometimes it can run as long as 5 days. All logs and everything turned up to near debug, show nothing. The system just stops dead, and again, a physical suyvey of the server reveals nothing. All lights still working and blinking, no excessive heat not beeps etc etc. A week ago, I ran every 32 bit Dell diagnostic I could on it ... for 4 hours straight and not 1 error found. I also ran memetst86 for 3 hours and no errors found. I don't have an answer for you, but I had a very similar problem. It's why I'm running FreeBSD now. I had RedHat 9 installed on a Dell 2650 running Apache 2, Postfix, Postgresql, Bind ... My system has a DRAC, raid, and a single processor. Actually I have 2 identical servers. One server is only for backup and lightly used and it never had a problem. The symptoms on my primary server were exactly the same. Sometimes it would seize up twice in one week. Sometimes it would run for weeks. The weird thing was that it would respond to pings. However no system services responded and the console was totally unresponsive. In frustration after not being able to figure out what was causing the problem, I decided to try FreeBSD 6 Stable. End of problem. I never figured out if it was the operating system, or an application or what. If you're desperate, you might want to try the opposite: load Linux. If you're looking for something that feels familiar to a FreeBSD'er, try Gentoo. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail Enable in 6.0
Don O'Neil wrote: I've got the following in my /etc/rc.conf file: sendmail_enable=NO And yet sendmail still starts on boot... Any clues as to why it's still starting? Is this a bug, or am I just forgetting something. This is FreeBSD 6.0-release. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html Section 24.4.2.3 -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts file
eoghan wrote: Hi Has anyone got an example of how the hosts file should be setup to allow locahost to work in a browser? Mine doesnt work anymore unless i go through the ip. This is when i start apache, maybe there is some other place i need to set it? The httpd.conf has localhost in it... Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try deleting the ::1 -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts file
eoghan wrote: Ken Stevenson wrote: eoghan wrote: Hi Has anyone got an example of how the hosts file should be setup to allow locahost to work in a browser? Mine doesnt work anymore unless i go through the ip. This is when i start apache, maybe there is some other place i need to set it? The httpd.conf has localhost in it... Thanks Eoghan Try deleting the ::1 I have tried this (it was originally commented out), I re-commented it out and still not working... Eoghan What do you get when you type: ping localhost -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts file
eoghan wrote: Derek Ragona wrote: Try manually adding the address, or uncomment that line and reboot. -Derek Thanks, tried it and still no luck. Cant ping either localhost or 127.0.0.1. Perhaps i should post some details from my boot record, cos I do notice after the dhcp, there are network unreachable messages, but i cannot find where this boot log is stored... On a side not, these problems started when i began to use gnome (2.12.13). Maybe unrelated but i never had these problems using kde, and the boot message of network unreachable seem to have happened at this time too. Your NIC is not configured correctly. Can you post the the output of the ifconfig command. Also, there should be a line in rc.conf that begins with ifconfig_... Post that line also. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts file
eoghan wrote: Ken Stevenson wrote: eoghan wrote: Derek Ragona wrote: Try manually adding the address, or uncomment that line and reboot. -Derek Thanks, tried it and still no luck. Cant ping either localhost or 127.0.0.1. Perhaps i should post some details from my boot record, cos I do notice after the dhcp, there are network unreachable messages, but i cannot find where this boot log is stored... On a side not, these problems started when i began to use gnome (2.12.13). Maybe unrelated but i never had these problems using kde, and the boot message of network unreachable seem to have happened at this time too. Your NIC is not configured correctly. Can you post the the output of the ifconfig command. Also, there should be a line in rc.conf that begins with ifconfig_... Post that line also. Here is the complete output of ifconfig: nathaniel# ifconfig fwe0: flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU inet6 fe80::11:6ff:fe99:d9eb%fwe0 prefixlen 64 scopeid 0x1 ether 02:11:06:99:d9:eb ch 1 dma 0 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=9RXCSUM,VLAN_MTU inet6 fe80::2b0:d0ff:fee7:e97d%xl0 prefixlen 64 scopeid 0x2 inet 192.168.1.34 netmask 0xff00 broadcast 192.168.1.255 ether 00:b0:d0:e7:e9:7d media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8008LOOPBACK,MULTICAST mtu 16384 nathaniel# and here is my full rc.conf: # -- sysinstall generated deltas -- # Fri Sep 30 17:48:53 2005 # Created: Fri Sep 30 17:48:53 2005 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=nathaniel ifconfig_xl0=dhcp ifconfig_lo0=inet 127.0.0.1 ipv6_enable=YES linux_enable=YES tomcat55_enable=YES moused_enable=YES moused_type=auto #moused_flags=-z 4 sshd_enable=YES usbd_enable=YES inetd_enable=YES sendmail_enable=NONE # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Sun Oct 16 15:29:40 2005 network_interfaces=xl0 I don't have a line in my rc.conf for ifconfig_lo0 and I don't have a line for network_interfaces=... Are you sure you need them? Try commenting out those two lines then restarting the network or rebooting. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sending a message to another computer on the network
Maldonado Dennis R SrA AFIA/MSP wrote: Hello, Can you tell me how to message other computers on my network? Thanks DENNIS R. MALDONADO, SrA, USAF DSN: 312-246-1592 COMM: 505-846-1592 FAX:xxx-xxx-5512 http://www.rbc.org/odb/odb.shtml http://www.rbc.org/odb/odb.shtml This electronic transmission contains FOR OFFICIAL USE ONLY (FOUO) information that must be protected under the Privacy Act of 1974 (see AFI 33-332). Do not release outside of the DoD channels without advance approval from the sender. If you received this message in error, please notify the sender by reply e-mail and delete all copies of this message. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you're looking for Winpopup functionality (net send), and you have Samba installed, look at man smbclient for the -M option. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ping timeout
Gargi Bodke wrote: Hi I am new to this list and new to freebsd also. I have a Freebsd server set up with apache and qmail on it, with an ADSL connection to the internet. Most of the time the server works fine but it is not available early mornings and weekends. The machine is physically at my workplace and has a static IP mapped to it by a Service provider. When I say not available I am unable to ping it from home and a tracert also fails. When it started happening I went to my work place to see if the server was down, But it has always been up and running. Also even if the server is not rebooted the machine becomes accessible after some time. Thinking it to be a network problem I have complained to the ISP but they are unable to provide any solution. Is it possible that a freebsd machine sleeps after being idle for some time? Early mornings and weekends is the time when no one is in office that's why am asking. Sorry if this sounds stupid but I ab unable to figure out the cause so though I should give it a try on this list. I bet that your initial diagnosis is correct: your Internet connection at work is going down periodically. You need to try to get to work early or on the weekend when the problem is happening, and ideally have somebody at home or wherever you're doing the tracert from. It could also be a DNS problem. When you ping your server, are you pinging it by name or by IP address? Also, do you manage the firewall that your server sits behind? It sounds like the firewall may be programmed to block traffic during non-work hours. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone using voip?
Peter wrote: Hi, I'm looking for comments from people who are using a voip solution with FreeBSD. The archives of this group show mixed results. I see there is a skype port available. To me that implies that this is possible. What of hardware? USB phones? -- Peter I've started playing around with it at home. I installed the asterisk port on FreeBSD and downloaded the free Counterpath X-Lite softphone for XP. Using a headset (Plantronics USB), I've gotten as far as calling the asterisk demo on my server. I got an account on FWD (Free World Dialup) for testing, and also downloaded and registered with Skype. Check out voip-info.org as a resource. As far as hardware, you might want to look at SNOM phones or Polycom phones for SIP based IP phones, and Sipura as an ATA to use with standard phones. Here's an article on how one guy setup asterisk for use at home: http://arstechnica.com/guides/tweaks/voip.ars -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd max users
Sean Murphy wrote: It seems I cannot connect to my server through sshd when there are 10 processes running of sshd. My ssh client immediately terminates. If I kill one of the ssh processes I am able to login through ssh. Is there a max user setting? Thanks ___ There's a MaxStartups parameter in /etc/ssh/sshd_config that limits the number of unauthenticated connections. It defaults to 10. Try increasing it and see if it fixes the problem. I don't think it's a good idea to indiscriminately increase this parameter, but it may help you diagnose what's going on. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring multiple interface card in one box
Hèrvé Simplice van der Eijk wrote: hallo sir, I have the privilge to use freebsd 5.4 release I have 3 network interface card installed in my box fxp0 with ip address 192.168.0.1 ether mac address: 00:90:27:ce:c3:00 xl0 with ip address 192.168.0.2 ether mac address: 00:10:4b:8c:9b:73 vx0 with ip address 192.168.0.3 ether mac address: 00:20:af:f7:5f:83 and default router is 192.168.0.10 Problem: pop up message feb 21 17:43:53 sun kernel: arp 192.168.0.10 is on fxp0 but got reply from 46:04:ed:10:08:33 on xl0 feb 21 17:44:58 sun kernel: arp 192.168.0.10 is on fxp0 but got reply from 46:04:ed:10:08:33 on vx0 please can somebody tell me what's going on and how I can fix it thank you in advanced. Do you have a good reason for having multiple NIC's on the same LAN segment? If so, read this for an explanation: http://freebsdhowtos.com/102.html -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mutri-user conference
jaroonsak A wrote: dear friend Hey !. i have problem about mutri user for contact between mutri user. Can you guilde to me about something like MCU . Yes now i can build sip server but it work for peer to peer, 2 person and i want to contract more than 2 person in sametime. look like they are live in same room. Can you guild for knowledge. I's very basic man in freebsd,linux,unix because i use window along time thank good man _ Does this have to be SIP based? If you're looking for the simplest solution for IP based conferencing, what about skype? www.skype.com -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getty repeating to quickly
Dave wrote: Hello, I've got a box running 6.0-RELEASE. I'm trying to hook serial consoles in to it, and have set up /etc/ttys and /boot/device.hints to allow me to do this. Yet, in /var/log/messages i keep seeing this error: Init: getty repeating to quickly on port /dev/ttyd0, sleeping 30 secs This is a repeating msg and i never get my serial console. I've confirmed that the port is showing up via dmesg, the system's bios has it on the correct i/o address and irq, and the pnp option is turned off. Any ideas? Thanks. Dave. I'm not sure what the problem is, but I believe the message means that getty is starting, immediately crashing, and then respawning, over and over. The OS then throttles that process to avoid consuming too many resources. I got the same error when I was trying to get mgetty to work with PPP. After I fixed my configuration problems, the problem went away. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail port 8025 conundrum
David Banning wrote: I have a strange problem where port 8025 is blocked on my server. Trying to connect with telnet, here is the response; david$ telnet banning.ca 8025 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Yet I host 6 other domains on the same server, and all the others seems to be fine; david$ telnet optexstaging.com 8025 Trying 209.161.205.12... Connected to optexstaging.com. Escape character is '^]'. 220 3s1.com ESMTP tmda-ofmipd quit It makes no difference whether I enable the firewall or not. Strangely I -can- connect to banning.ca via port 25 or 110; david$ telnet banning.ca 25 Trying 127.0.0.1... Connected to banning.ca. Escape character is '^]'. 220 3s1.com ESMTP Sendmail 8.12.8p1/8.12.8; Fri, 17 Feb 2006 11:06:04 -0500 (EST) To my knowledge, there is nothing that stops a connection to a specific The only change to my system is that I registered -all- 7 of the domain names with a new outside DNS server. It could be that there is some stale DNS going on, but DNS would be the same for all ports, would it not? Looking at the erroneous message, I see that banning.ca is being directed to 127.0.0.1 - why would that happen? It works from the outside world: [EMAIL PROTECTED] telnet optexstaging.com 8025 Trying 209.161.205.12... Connected to optexstaging.com. Escape character is '^]'. 220 3s1.com ESMTP tmda-ofmipd quit 221 Bye Connection closed by foreign host. [EMAIL PROTECTED] telnet banning.ca 8025 Trying 209.161.205.12... Connected to banning.ca. Escape character is '^]'. 220 3s1.com ESMTP tmda-ofmipd quit 221 Bye Connection closed by foreign host. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail port 8025 conundrum
David Banning wrote: It works from the outside world: Well that is good news. OK, so why would my server be looking internally for the banning.ca IP address? Any ideas? Do you have an entry in /etc/hosts for banning.ca ? -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sip server
jaroonsak paokeaw wrote: Dear. Hey! I want your OS work with sip server. Can you suggest some sip poxy server. And it must easy to configure and setup because i's very baby adminitrator in linux and freebsd. Thx. Good man Look at /usr/ports/net/asterisk /usr/ports/net/ser http://www.voip-info.org -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking an individual email address
Jim Csoka wrote: No...I ran make maps, as well as make install for the blacklist feature, and make restart. However, here is something interesting. When I access my corporate email via openwebmail, it functions as I would expectyou cannot send or receive to the given address. However, when using Outlook Express (internal mail client at work), you can still send mail to the address I am trying to block. Why should this be so? Are you sure Outlook Express is configured to use your FreeBSD server for SMTP? Send an email to yourself using Outlook Express then look at the message source and check the headers to verify which SMTP server is sending the message. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking an individual email address
James Csoka wrote: I am running a FreeBSD 5.4p10 machine at my office. It functions as our firewall and mailserver. I am running Mailscanner, which invokes sendmail when necessary to process mail. Sendmail is not started by defaultMailscanner invokes individual instances of it when it needs to. Here is my problem. I have an employee at my office that is sending work email to her home email address. I need to find a way to block her email address, whether To, From, Cc, Bcc, or whatever, from passing through my mailserver. I have already added a line to /etc/mail/access (in the format [EMAIL PROTECTED] REJECT), and have run makemap hash /etc/mail/access.db /etc/mail/access. I tested this with my personal email address (external to my network), and it had the effect of blocking any email orginating from my personal email to any address at my work, however it does not prevent me from sending emails to this address from a work address, which is the whole point. Does anyone have any ideas? I could tag the address as spam, but I would rather not. There has to be a way to block anyone from sending to a certain email address, I would think. Any help would be appreciated. -Jim I don't mean to be a wise ass but this sounds wrong on so many levels. Why can't she send email to her home email address? If there's a good reason, can't you firmly explain the company policy to her, tell her all mail is logged and that she'll be fired if she continues to violate company policy? Bottom line, if she doesn't care about following company policy, she'll get around any countermeasures you try to employ, one way or the other. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with strange web server problem
Jerry Bell wrote: It's hit or miss, but the first time someone visits the web site, they get a server not found page. On hitting refresh, they get the page - no problems. If I wait a while and try again, I get the same problem. The problem appears to be something in the initial communication with the web server. Using tcpdump, I can see that the PC connects to the web server and sends the GET request, but the server closes the connection abruptly. Comparing that flow to a normal session, I see that there are some extra packets between the initial SYN and the sending of the GET phrase that do not exist during a successful session. I'm running 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Aug 18 (built from the stable source as of that day). I'm using apache 1.3.34. I was on 1.3.33 and rebuilt the port to see if that was the problem. I'm not sure if this is an apache problem or a FreeBSD problem. Any suggestions on further troubleshooting or known issues? Thank you! Jerry On a couple of occasions, I've had a similar problem that was the result of Apache having multiple processes running, and 1 of the running processes was failing while all the others were okay. Try refreshing about 20 times and see if the problem comes and goes or if it only occurs on the first connection. In any event, restarting Apache fixed the problem for me. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MBR blown away
Peter wrote: --- Jerry McAllister [EMAIL PROTECTED] wrote: --- Jerry McAllister [EMAIL PROTECTED] wrote: I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. The MBR itself looks OK. According to that piece of menu you posted, you just added another bootable slice. So, there are now two bootable FreeBSD slices and one bootable Microsloth slice. Correct, I chose '1' and then the system hangs (no messages/errors). I simply converted a 6GB FAT32 partition into a UFS2 slice (chopped into three 2GB partitions). Well, I still am guessing the problem lies in individual slices' boot sectors and not the MBR. just try and set the bootable flags in the slices the way you think they should be and see what happens. In sysinstall I toggle bootable but it puts an 'A' which seems to mean auto-bootable. I can only set one 'A' here. -- Peter I tend to agree with Jerry and others that the problem is not with the MBR, but with the Windows boot sector in the first partition. If that's true, you can't fix it with sysintall or FreeBSD. You have fix it with Windows tools. If you were running Windows 2000 or XP in the Windows partition, I would recommend that you use the Windows 2000 System Recovery Console and run the fixboot program to install a new Windows boot sector on the Windows partition. If you're running an older version of Windows, you need to find out what tool it uses to restore a boot sector. Chances are in the process you'll wipe out the FreBSD MBR which you'll have to fix using FreeBSD. I guess that's where boot0cfg comes in, but I've never used it. The best advice, though, is to backup everything you can before proceeding. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using dd to Make a Clone of a Drive
Giorgos Keramidas wrote: On 2006-02-09 14:36, Martin McCormick [EMAIL PROTECTED] wrote: After installing FreeBSD5.4, the ISC dhcp server and ISC bind on a hard drive, I wanted to clone that drive to a second drive so as to generate a second server, using what I had already installed as a template. I used the following command: dd if=/dev/da0 of=/dev/da1 bs=512 It turns out that dd defaults to 512-byte blocks so I didn't really need the bs=512, but I am not sure I haven't made some other type of mistake. The dd command has been running for about 4 hours on a very fast system, with a 1-gig processor, 1 gig of RAM and two 31-GB drives. One would think it should have finished by now, but it is still running. Is this a valid method of copying the entire contents of one drive to another? Thank you. Bah! That's too slow for my taste. I would usually go for a newfs, dump, and restore option. For instance, to create a copy of /usr on a second disk: newfs -U /dev/ad1s1a mount /dev/ad1s1a /mnt dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - ) Copying with dd(1) is not as fast :) I had to clone a couple systems a while back, and I also did it with dump/restore. The best part was this was the first time I actually restored my backups to a bare hard drive. It gave me a lot of confidence that my backups actually work. I think a lot of people find out too late that whatever backup solution they're using is flawed and they can't rebuild their system from it. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using dd to Make a Clone of a Drive
Peter wrote: I intend to use g4u. I have done some preliminary testing and I am quite confident that I can upload and download an image. I am now wondering about the situation where I need to recreate the partition that is to contain the image. It needs to be exactly the same size (sectors) as the image. That's what I'm worried about. Any suggestions? You don't create a partition to restore to when you're using g4u. It does a bit by bit copy so it creates the slice and partitions for you automatically. As the documentation for g4u says, it's most useful when the source disk and target disk are the same size. It works when the target disk is bigger, but the slice will only be as big as the original slice. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help Installing FreeBSD 6.0 with GUI
Alexandre Adao wrote: I am VERY new on FeeBSD and I installed it using the standard option. How can have freeBSD 6.0 runing on GUI? Is there any step by step proceedure? Thanks for any help. --Alex Read the following: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MBR blown away
Peter wrote: I need help. I added a slice to a single hard drive dual-boot (windows) system and now I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) boot manager: 1. DOS 2. FreeBSD 3. FreeBSD I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the windows/dos option is fried. My current strategy is to use boot0cfg: # boot0cfg -B But I'm a little squeemish. I don't want to be locked out of FreeBSD (I barely use Windows but I still would like it back for Visio). Any guidance? -- Peter This article might provide a clue: http://www.extremetech.com/article2/0,1697,1918391,00.asp -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd / ssh setup
fbsd_user wrote: Have user who is logging in to USA site from Asian public internet cafes using his personal windows/xp notebook. Trying to setup the USA server and his windows/xp notebook to use SSH. Added sshd_enable=YES to USA site server rc.conf and rebooted system. During boot process, followed sshd instruction and built the root user keys. Have read the handbook but have no clue as how to proceed. The handbook covers all the many different ssh config options, but does not say how to really use it. There are a lot of options here, but here's how I do it. Not necessarily the best way, but it works for me. Need procedures to 1. setup users on FreeBSD target sshd server. Create a regular login for each outside user using adduser. Make sure port 22tcp is open inbound. Login as that user and run: ssh-keygen -t rsa I don't have many users so I disable ChallengeResponse authentication and require users to submit keys. To do that, edit /etc/ssh/sshd_config and set: ChallengeResponse no I also set: Protocol 2 2. setup users on FreeBSD remote box to ssh to sshd server. Have them run the same ssh-keygen -t rsa Tell them to send you ~/.ssh/id_rsa.pub Concatenate that to the ~/.ssh/authorized_keys2 files in their home directory on your server. Make sure the key ends up on a new line in authorized_keys2. If there wasn't a newline at the end of the file previously, it will end up concatenating it to the end of whatever keys are already there. If that happens, just go in with a text editor and break the line. The user should then be able to ssh into your box. 3. setup users on windows/xp remote box to ssh to sshd server. Install Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/ Run puttygen and generate an SSH2 RSA key (select this at the bottom of the dialog box). Tell them to save the public and private keys, and then to copy the contents of the Public key for pasting.. field at the top of the screen, paste it into a file in notepad, and email it to you. Concatenate that to the end of their ~/.ssh/authorized_keys2 file as you did for your freebsd users. If they're going to be logging in often, tell them to run pageant to cache the private key. Then they can run putty and connect to your server. Again, you might not want to do it this way if you don't want to mess around with having users send you keys, but it's a lot more secure. Pretty soon you'll be be getting a 100 or more hits a day from crackers trying to log into your system. They'll never get anywhere if you're using key based authentication. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd / ssh setup
fbsd_user wrote: Ken Thanks that helps a lot. Only thing missing is what is ssh login syntax to login from the remote FreeBSD pc? Can I also remotely login as root on sshd server system? I guess the setup instructions are with the putty pgm for ssh access from windows/xp On the freebsd machine: ssh hostname The first you connect, you'll be prompted to confirm you're sure about the identity of the host you're connecting to. Assuming you assigned a passphrase to your key using ssh-keygen, you'll have to enter the passphrase. For putty, go to the SSH | Auth tab and select the private rsa2 key created with puttygen. Enter your username in the Auto-login username field on the Connection tab. Enter the host name, then click the save button to save the profile. Then just double click on the profile name to connect. If you previously cached the private key with pageant, you won't have to enter a passphrase. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba and fstab
A. Clausen wrote: Slowly educating myself in FreeBSD. Have managed to get Samba set up and can access my FreeBSD server, but trying to get SMBFS shares mounted in fstab is causing me grief. Either I get errors about invalid file system or I get nothing at all when I issue mount -a, but the share still isn't mounted. I've tried adding some info to nsmb.conf, but that doesn't seem to make much difference. I'm running FreeBSD 6 and Samba 3.0.14a. Are you trying to mount Windows shares under Samba? If so here's what my fstab looks like: //[EMAIL PROTECTED]/c /smb/amiserver smbfs rw 0 0 I'm mounting the share named c on a Windows 2000 server named amiserver at the mount point /smb/amiserver on my FreeBSD server. Edit /etc/nsmb.conf and set the workgroup, addr and password values for your windows share. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help me
Albert wrote: Greetings, I want permit surfing my web page, but forbid browsing (shell like). What to do Thanx. Look at Options Indexes in the Apache documentation. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
Scott I. Remick wrote: Hello... I'm trying to set up a serial console for watching console error messages while in X, but am having a real hard time getting my head around the concepts of what I need to do (and don't need to). I've seen http://www.freebsd.org/doc/handbook/serialconsole-setup.html but I'm not clear about how much of that applies to what I want to do, since it talks about setting it up for a headless system (no keyboard or monitor) and actually instructs you to remove the keyboard. I've also searched the mailing list archives but I've read a lot of conflicting info, much of which for different uses of the serial console than what I want to use it for, and I've now read back so far that I can't even be certain that the suggestions apply to FreeBSD 6.0. Ugh So is there someone who can give me a hand-held walk-through of just what I need to do to make this work? I'm running FreeBSD 6.0-RELEASE and live in X (Gnome) all the time. My intention here is to be able to see console messages (Errors) so when something dies (like X locking, which happens sometimes) I have a chance to see what the heck happened. I have an old 486 laptop I intend to use as the dumb terminal, as well as the necessary null modem cable. I just need to know what to configure on my FreeBSD box so that console errors are mirrored to the serial port. Thanks! I was trying to accomplish the same thing a couple weeks ago and somebody recommended the following: touch /var/log/console.log Edit /etc/syslog.conf and uncomment the line that begins with console.info. Reboot (you might be able to just restart syslogd). -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: spamassassin problem and question
David Banning wrote: Having said that, I don't think that's what you want to do. It sounds like you upgraded Spamassassin without upgrading Razor2. I don't think Razor2 gets upgraded automatically when you upgrade Spamassassin because it's optional. I would try upgrading the Razor2 port to the latest version. It is already upgraded. I did put the file that Spamassassin was looking for in one of the directories that is was searching and the error message disappeared. Perhaps not a by-the-book way, but it seemed to work. Thanks for your response. Whatever works. FYI, on my system, Razor2.pm is at. /usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Plugin/Razor2.pm Also what I said previously about having to upgrade it separately apparently isn't true, because I never explicitly installed Razor. I guess it was installed when I installed SpamAssassin. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: spamassassin problem and question
On Friday 27 January 2006 02:00 am, David Banning wrote: While spamassassin is executing I am getting this error; Can't locate Razor2/Client/Agent.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.7 ../lib /usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/lib/perl5/site_perl/5.8.7/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7) at /usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Plugin/Razor2.pm line 70. So I look for the file; # locate Agent.pm /usr/local/lib/perl5/site_perl/5.005/Sitescooper/UserAgent.pm /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Razor2/Client/Agent.pm /usr/local/lib/perl5/site_perl/5.8.7/LWP/UserAgent.pm In my simplistic way of attempting resolution, I am thinking of just adding /usr/local/lib/perl5/site_perl/5.005/i386-freebsd to @INC - but here is where my knowledge runs out. Where are the references to directories referred to as @INC stored? @INC does not appear to be a file. I believe @INC is created when perl is compiled, so you can't change it directly. To use a module in a directory that's not in the compiled list, you add the following line before the use statement that references Razor2: use lib /usr/local.../location of the perl module I may even be attempting to solve this incorrectly. Any pointers would be useful - Having said that, I don't think that's what you want to do. It sounds like you upgraded Spamassassin without upgrading Razor2. I don't think Razor2 gets upgraded automatically when you upgrade Spamassassin because it's optional. I would try upgrading the Razor2 port to the latest version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD using Dell systems
On Thursday 26 January 2006 12:53 pm, Jennifer Gold wrote: Would you have any information on using and loading FreeBSD on a Dell PowerEdge 2850 or 850? Any information would be of great help. Thank you for your time. I recently setup 2 Poweredge 2650 systems with FreeBSD 6.0/Stable without any problems. I just followed the instructions in the handbook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD using Dell systems
On Thursday 26 January 2006 02:38 pm, Bob Johnson wrote: I have neither of those, but I've been running FreeBSD 5.4 on a pair of PowerEdge 1800 systems. It can't access all 4 GB of installed RAM (it sees 3327 MB). I looked up the reason for that once, but now I forget what it is (PCI bus mapping, maybe, or PAE, or both?). It is not specific to Dell, though, and may be solved in 6.0 (speculation). I tried to set aside a small partition for Windows XP in case I needed to run some Windows-only management or repair software. It didn't work. The Windows XP install program bluescreens on these systems. I believe Dell only supports Windows 2003 Server on them. Windows 2000 Professional runs fine on PowerEdge 2650's. I'm not sure about XP. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: screen alternative
On Thursday 26 January 2006 03:25 pm, Grzegorz Danecki wrote: Hi List! I'm running 5.4 Stable and I'm looking for something, that can let me detach my session leaving my software running. First thought - screen, but hey, there is no screen package in ports collection :( Google says something that it was removed due to high cpu utilization few releases ago. Is this true? Are there any alternatives? Because as I can remember screen was frequently used and highly appreciated application. If you're running a utility from a shell prompt, look at: man nohup If you want a detached remote X session look at /usr/ports/net/tightvnc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell DRAC Questions
On Tue, Jan 24, 2006 at 11:24:55AM +, Alex Zbyslaw wrote: I help run two Dell 2850s, both several hundred miles from me, both with DRACs. The DRACs do indeed have a separate IP and you can connect to them either through a Web interface or via SSH (but you might need to upgrade the firmware - for whatever reason Dell doesn't necessarily do this when they build your machine). The main thing we get out of it, is that the DRAC is capable of being a virtual serial console. There's a java app on the Web interface that allows a console window to pop up. This works all the time - whether the machine is running FreeBSD, booting, in the BIOS, or even powered down (but not unplugged!). It's pretty much like being sat at a console without actually having to b anywhere near the machine. What software did you have to install (if any) on the 2850's in order to use the serial console? I have a couple 2650's with DRAC's, and I can connect to the Web interface on the DRAC port, but the serial console never connects. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell DRAC Questions
On Tue, Jan 24, 2006 at 02:32:32PM +, Alex Zbyslaw wrote: Ken Stevenson wrote: What software did you have to install (if any) on the 2850's in order to use the serial console? I have a couple 2650's with DRAC's, and I can connect to the Web interface on the DRAC port, but the serial console never connects. None. For me they just worked out of the box. I had to upgrade the firmware in order to get SSH connections to work, but the java serial console just worked. I would first make sure that you have the DRAC configured correctly especially gateway and DNS server IPs, then start by running a Web browser on the Dell itself and connecting to the DRAC. The other thing is that I do get lots of warnings about certificates, so maybe over-aggressive browser security settings are your problem. I realise I should have said that these are DRAC4s. I don't believe that the underlying OS should matter a jot, but we have 5.4-RELEASE. I can connect from a Mozilla browser with native java 1.4. You do have Java installed, right? --Alex I got it working once I quit kdm. Apparently the remote console is only available if the graphics adapter is in a text mode. Thanks for your help. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade ssl, ssh
On Sun, Jan 22, 2006 at 12:26:25AM +0300, Playnet wrote: Hello freebsd-questions, portupgrade openssl ** No such installed package: openssl whereis openssl openssl: /usr/bin/openssl /usr/share/openssl/man/man1/openssl.1.gz /usr/ports/security/openssl If upgrade ssl from ports, it unstalls into /usr/local and it doesn-t correct. How i need upgrade ssl and ssh? -- Best regards, Playnet mailto:[EMAIL PROTECTED] Run pkg_version -v That will tell you the version you currently have installed. Then use the currently installed version name when running portupgrade. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple install
On Wed, Jan 18, 2006 at 09:57:58AM -0800, Eric Smith wrote: Do you know of a drive clone that will work well with distributing freebsd installations to multiple servers via network. g4u (Ghost for You) works over ftp -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: konsole font size and colour ?
On Tue, Jan 17, 2006 at 07:14:49AM -0800, Micah wrote: Mehmet Fatih AKBULUT wrote: hi all, how can i resize konsole' font size and change its colour to green ? the default size is so huge, and only a few lines can be seen on the screen. help please, thanks in advance, regards, bye. [for debian i can edit /boot/grub/menu.lst but dont know what to do for freebsd.] Not sure what your asking because Konsole (a KDE terminal emulator) and GRUB (a boot loader) have little in common. For Konsole, everything you need to change the size is under the Settings menu, specifically font and size. To get it to stick, use save as default. Preset colors schemes can be set via schema and can be customized via configure konsole I've never run into a GRUB option that allows you to change it's size. You'll still edit menu.lst, but it's located wherever you installed GRUB. HTH, Micah I haven't done this for a while, but here's what I have on my system: In your kernel configuration: options VESA In rc.conf : font8x8=/usr/share/syscons/fonts/iso02-8x8.fnt allscreens_flags=132x43 -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Have I been hacked or is nmap wrong?
On Wed, Jan 18, 2006 at 11:29:38AM +0200, Kilian Hagemann wrote: On Tuesday 17 January 2006 19:27, Micheal Patterson pondered: The 1663 ports scanned but not shown below are in state: filtered) PORT STATE SERVICE 80/tcp open http 554/tcp open rtsp 1755/tcp open wms 5190/tcp open aol Kilian, what does a sockstat show you on those systems and are there any nats on either of these systems that would have a redirect_address to something behind them? sockstat -4l only shows up the processes serving the LAN (dnsmasq, samba) as well as sshd: USER COMMAND PID FD PROTOLOCAL ADDRESS FOREIGN ADDRESS root smbd484 18 tcp4 192.168.133.1:445 *:* root smbd484 19 tcp4 192.168.133.1:139 *:* root nmbd480 6 udp4 *:137 *:* root nmbd480 7 udp4 *:138 *:* root nmbd480 8 udp4 192.168.133.1:137 *:* root nmbd480 9 udp4 192.168.133.1:138 *:* nobodydnsmasq 458 1 udp4 *:56212 *:* nobodydnsmasq 458 3 udp4 *:53 *:* nobodydnsmasq 458 4 tcp4 *:53 *:* nobodydnsmasq 458 5 udp4 *:67 *:* root sshd432 3 tcp4 *:22 *:* root syslogd 311 4 udp4 *:514 *:* So nothing suspect at all here. Yes, the systems are natted(with above system LAN on 192.168.133.0/24), using ppp -nat. I have no specific redirects set up, and only a allow tcp/udp from LAN to WAN/any setup keep-state dynamic rule, but that should be unrelated. If my server is not compromised, how the heck could an http/rtsp/wms/aol redirect sneak in there without me explicitly enabling it? Is there any chance you have a router that's forwarding the ports in question to another computer? -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no one here use restore/dump?
On Wed, Jan 18, 2006 at 12:20:51PM +0100, Wojciech Puchar wrote: nobody here do backups of their systems? strange?! ___ Huh? I do. I'm sure a lot of people do. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Have I been hacked or is nmap wrong?
On Tue, Jan 17, 2006 at 07:07:17PM +0200, Kilian Hagemann wrote: Hi there, I'm managing two FreeBSD based gateways, one running 5.2.1-RELEASE and the other 5.3-STABLE, both not having been updated since I installed from ISO images. They both have custom ipfw firewalls that are dropping pretty much everything that's not supposed to come in. All was fine and dandy until one day I noticed that when I nmap'ed them from the outside, the one shows The 1663 ports scanned but not shown below are in state: filtered) PORT STATE SERVICE 80/tcp open http 554/tcp open rtsp 1755/tcp open wms 5190/tcp open aol and the other the same without the http bit. When I nmap them from the only address that they allow sshrsync access from (my public IP at work), nmap says that ftp, smtp and irc(port 6668) are open. Even though I have sendmail_enable=none in my rc.conf I still get some sendmail entries in my syslog so that might explain the open smtp port, but the others are DEFINITELY NOT supposed to be open. I haven't noticed anything different on the servers themselves and neither can I detect these open ports on the machine itself (using lsof -i :1-65535 or netstat). I also haven't noticed any abnormal traffic volumes originating from them. So, have I been hacked and rootkitted? Or is nmap simply lying to me? I've been subscribed to freebsd-announce and thus seen all SA's to date, but none of them are relevant to any of my setups. Run sockstat -4l and see what commands are listening on the ports in question. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with X11 Forwarding
On Sun, Jan 15, 2006 at 10:24:04AM -0700, Aaron Dalton wrote: I thought this might be the best place to post the question. I am running FreeBSD5.4-RELEASE. For the sake of argument, let's say I am trying to get the port editors/fte running on my Windows box via an SSH tunnel. I am running WindowsXP, cygwin's X11 server, and PUTTY. As far as I can tell from all my Googling, this should actually be quite simple: - openssh is setup on FreeBSD with X11Forwarding=yes - I start the cygwin X-server (XWin -ac -multiwindow) - Putty is configured to forward X11 sessions - I connect via Putty - running '$ fte' from the FreeBSD command line should supposedly open everything up now on my Windows box, but it does not. From what I understand, when I connect now via Putty the env variable DISPLAY should be set. But it is not (which is the error fte gives me when I try to run it). If I try to manually set the DISPLAY variable (I tried localhost:0, localhost:0.0, ip:0, ip:0.0) it still doesn't work. editors/fte is fully installed (with X11libs and all that) but I wonder if there is more I need installed on the FreeBSD end to make things work. I really appreciate your time and any assistance you can render. I'm new to FreeBSD, so I may be off base, but I use vncserver on my FreeBSD box when I need an X session. Then I just setup Putty to forward port 5900 to 127.0.0.0:5901, make an ssh connection to my FreeBSD server, run UltraVNC on my Windows box and connect to localhost. -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with X11 Forwarding
On Sun, Jan 15, 2006 at 12:33:24PM -0700, Aaron Dalton wrote: Ken Stevenson wrote: I'm new to FreeBSD, so I may be off base, but I use vncserver on my FreeBSD box when I need an X session. Then I just setup Putty to forward port 5900 to 127.0.0.0:5901, make an ssh connection to my FreeBSD server, run UltraVNC on my Windows box and connect to localhost. Thanks for your reply! I have been told VNC is a good way to go as well, but some have mentioned some performance issues. What have you found? It works liveably well? It works great for me. I have a pretty fast internet connection (cable modem). One thing I like about it is the session doesn't end when you disconnect. You can start a long running process like cvsup, disconnect, and come back later to check on it. Unlike when you vnc to a Windows box, you don't get the X session that's on the local workstation, you get a new one. If you need to connect to the primary X session, like for remote support, there's a version of VNC in the ports for that too (xvnc?). -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]