mysql user
Hi everyone, I maybe didn't see something, for sure it's a dumb problem I installed MySQL 4.0.20 from sources downloaded on MySQL website and then I checked before adding my mysql user on the box if there was one I never installed MySQL before and I already have a mysql user but I don't know his password. What should I do ? Uninstall / ReInstall MySQL ? Delete user mysql and create another one ? or is there an obvious first password to change I didn't get ? I'm a little bit lost there... even if it's not an obligation to have this user named mysql, it's easy to use everyday! Thanks. razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql user
Thanks everyone... ;) Next time I'll use the ports. seems way easier (and originally that was the reason I choose FreeBSD over Linux! :S ) - Original Message - From: Matthew Seaman [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 11:42 PM Subject: Re: mysql user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache php mysql
Hi everyone, I'd need some ressources to be sure how to install apache, php, mysql on my FreeBSD box. This is the first time I do it, so I don't really know how to configure the thing. I followed instructions from apache and php to install those but it's not really easy for me to understand how to install MySQL server from their website Apache and php installations seemed to worked out fine but I surely have files to configure now, but I don't know which ones... It would be great if someone knows any ressource about all this setup online? For information I have FreeBSD 4.9-STABLE, Apache 2.0.49, PHP 4.3.6, MySQL 4.0.20. Thanks. razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewall rules error
Hi everyone, I'm trying to write my own rules for ipfw under 4.9 STABLE. But everytime I try to use the file with my rules my network is totally blocked and the ipfw show command returns : 65535 38 2311 deny ip from any to any I think there's a problem in my rules file and the system replaces my rules by this one, but I can't figure out what is the problem, my rules file is really short compared to what I saw sometimes on Internet : -- fwcmd=/sbin/ipfw oif=dc0 iif=dc1 ${fwcmd} -f flush ${fwcmd} add check-state ${fwcmd} add deny ip from any to any in via $oif verrevpath add 050 divert natd all from any to any via $oif add 100 pass all from any to any via lo0 add 200 deny all from any to 127.0.0.0/8 add 300 deny ip from 127.0.0.0/8 to any ${fwcmd} add allow ip from me to any via $oif keep-state ${fwcmd} add allow icmp from any to any via $oif icmptypes 0,3,11,12 ${fwcmd} add allow tcp from any to me dst-port 22 in via $iif setup keep-state ${fwcmd} add deny log ip from any to any -- Can anybody tell me what's wrong ? Thanks. razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
boot log
Hello everyone, I'm pretty sure I so that in another thread but I can't remember and I can't find it in the archive. I don't search the right words probably I just would like to know how can I read the exact text that is displaying very fast at the FreeBSD boot. All the kernel things and everything that starts up at this time ? Because I saw my firewall has a problem when the system boot up but I can't read it's too quick. Thanks. Best regards. razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot log
Thanks everyone, you were (as usual) very helpful ! ;) - Original Message - From: Charles Swiger [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:37 PM Subject: Re: boot log On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote: I just would like to know how can I read the exact text that is displaying very fast at the FreeBSD boot. Try: dmesg | less -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot log
Thanks everyone, you were (as usual) very helpful ! ;) - Original Message - From: Charles Swiger [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:37 PM Subject: Re: boot log On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote: I just would like to know how can I read the exact text that is displaying very fast at the FreeBSD boot. Try: dmesg | less -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall rules error
Whatever the rules I'm using I get this message when booting and starting ipfw : ipfw: bad arguments, for usage summary ipfw except if I use the /etc/rc.firewall file but that's another I don't know why? it doesn't work with the SIMPLE argument in /etc/rc.conf and modified with the right values. Do you think this message come from the fwcmd=/sbin/ipfw line ? I also verified because I was curious, the ipfw executable file of course exists in my /sbin directory read man ipfw and look at this http://www.freebsd.org/doc/en_US.ISO8859-1/articles/dialup-firewall/rules.html for a basic pattern to follow. Untill you get the basics down keep it simple. ### basic rules, ipfw ## fxp0 lan helps you remember later what you are working with ## dc0 wan ## lo0 loop ### first match rule applies # # Define the firewall command (as in /etc/rc.firewall) for easy # reference. Helps to make it easier to read. fwcmd=/sbin/ipfw # Force a flushing of the current rules before we reload. $fwcmd -f flush # Divert all packets through the tunnel interface. $fwcmd add divert natd all from any to any via dc0 # Allow all data from my network card and localhost. $fwcmd add allow ip from any to any via lo0 $fwcmd add allow ip from any to any via fxp0 # Allow all connections that I initiate. $fwcmd add allow tcp from any to any out xmit dc0 setup # Once connections are made, allow them to stay open. $fwcmd add allow tcp from any to any via dc0 established # RESET ident packets. #$fwcmd add reset log tcp from any to any 113 in recv dc0 # Allow outgoing DNS queries ONLY to the specified servers. $fwcmd add allow udp from any to x.x.x.x 53 out xmit dc0 # Allow them back in with the answer $fwcmd add allow udp from x.x.x.x 53 to any in recv dc0 # Allow ICMP (for ping and traceroute to work). You may wish to # disallow this, but I feel it suits my needs to keep them in. $fwcmd add allow icmp from any to any # Deny all the rest. $fwcmd add deny log ip from any to any end of rules On Fri, Apr 16, 2004 at 10:51:05AM +0200, RazorOnFreeBSD wrote: Hi everyone, I'm trying to write my own rules for ipfw under 4.9 STABLE. But everytime I try to use the file with my rules my network is totally blocked and the ipfw show command returns : 65535 38 2311 deny ip from any to any I think there's a problem in my rules file and the system replaces my rules by this one, but I can't figure out what is the problem, my rules file is really short compared to what I saw sometimes on Internet : -- fwcmd=/sbin/ipfw oif=dc0 iif=dc1 ${fwcmd} -f flush ${fwcmd} add check-state ${fwcmd} add deny ip from any to any in via $oif verrevpath add 050 divert natd all from any to any via $oif add 100 pass all from any to any via lo0 add 200 deny all from any to 127.0.0.0/8 add 300 deny ip from 127.0.0.0/8 to any ${fwcmd} add allow ip from me to any via $oif keep-state ${fwcmd} add allow icmp from any to any via $oif icmptypes 0,3,11,12 ${fwcmd} add allow tcp from any to me dst-port 22 in via $iif setup keep-state ${fwcmd} add deny log ip from any to any -- Can anybody tell me what's wrong ? Thanks. razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh Connection refused
- Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:19 AM Subject: Re: ssh Connection refused RazorOnFreeBSD wrote: I have a firewall and it's running. But the outputs for the command ps -auxv | grep sshd are : root93 0.00.430082176??Is6:19PM 0:00.16 /usr/sbin/sshd root1680.00.0336 204 v0R+ 6:58PM 0:00.01 grep sshd I don't really understand why I have two processes from sshd and also why I can't connect if it is running (apparently). ??? Two processes? Please note that one process is the grep command. Sshd does appear to be running, though. You didn't give us the output of ipfw show, so we don't know if the port is being blocked; it seems like that it is, since you are being told connection refused. Connection refused means the port is closed, either because nothing is listening on that port, or because the firewall is blocking it... How about netstat -anf inet ? It should show a LISTENING socket on port 22 for ssh Kevin Kinsey Thanks for the ps / grep information. In my rc.conf file, I already set the firewall type on OPEN, so the ipfw show outputs are (with rl0 = OIF and dc0 = IIF) : 0005039741855775divert 8668 ip any from any via rl0 00100100 15316allow ip from any to any via lo0 002000 0deny ip from any to 127.0.0.0/8 003000 0deny ip from 127.0.0.0/8 to any 6500074375 16354274 allow ip from any to any 655350 0deny ip from any to any here are samples of netstat -anf inet outputs : ProtoRecQSendQLocal AddressForeign Address (state) tcp4 0 0*.22*.* LISTEN tcp460 0*.22*.* LISTEN Do you think the sshd daemon could be altered itself I mean could have a behaviour it isn't suppose to have because of the forced shutdown ??? Thanks razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh Connection refused
Ok Kevin, I really would like to thank you for your help and your time. I restarted the process as you told me and now it works Kind of silly since I've rebooted my computer many times to restart the ssh daemon! Oh well at least now I know how to restart a process ! :D Thanks again. razor. - Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:38 PM Subject: Re: ssh Connection refused RazorOnFreeBSD wrote: - Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:19 AM Subject: Re: ssh Connection refused Thanks for the ps / grep information. In my rc.conf file, I already set the firewall type on OPEN, so the ipfw show outputs are (with rl0 = OIF and dc0 = IIF) : snip here are samples of netstat -anf inet outputs : snip Do you think the sshd daemon could be altered itself I mean could have a behaviour it isn't suppose to have because of the forced shutdown ??? Thanks razor. I guess anything is somewhat possible. I'm just looking for the most likely stuff first ... Can you ssh [EMAIL PROTECTED] ? What about tcpwrappers? What is in /etc/hosts.allow? Tried rebooting or HUPing the daemon? #/bin/kill -HUP 93 (or whatever the current PID is for /usr/sbin/sshd) Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh Connection refused
- Original Message - From: Joshua Lokken [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 5:19 PM Subject: Re: ssh Connection refused * Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] [2004-04-13 07:52]: RazorOnFreeBSD wrote: - Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:19 AM Subject: Re: ssh Connection refused I guess anything is somewhat possible. I'm just looking for the most likely stuff first ... Can you ssh [EMAIL PROTECTED] ? What about tcpwrappers? What is in /etc/hosts.allow? Tried rebooting or HUPing the daemon? #/bin/kill -HUP 93 (or whatever the current PID is for /usr/sbin/sshd) In the future, to start and restop sshd (without rebooting), just do: # kill -HUP `cat /var/run/sshd.pid` HTH, -- Joshua I object to intellect without discipline; I object to power without constructive purpose. -- Spock, The Squire of Gothos, stardate 2124.5 Thanks Joshua... so maybe you know how to do the same with the firewall... I mean restart the firewall without rebooting ? razor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh root denied
Hi everyone, I have some troubles with ssh I have a Freebsd server 4.9 working in a closet without screen. So I would like to use it through ssh from another station with OpenSSH to configure it when I need it. I can connect with a user login / password, but not with root / password. Is there any reason ? did I miss something ? I use the command : ssh [EMAIL PROTECTED] (This one doesn't work with the right password) to connect or : ssh [EMAIL PROTECTED] (This one does) Ouputs from OpenSSH : Connection to 192.168.1.1 closed by remote host. Connection to 192.168.1.1 closed. Not really clear for me. :s And I'm pretty sure the password is correct because when it's wrong it just asks me the password again! Does anybody have any idea ? Thanx Razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh root denied
Thanks for all everyone... It works! Enjoy your day.. ;) - Original Message - From: Remko Lodder [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, April 12, 2004 10:12 PM Subject: Re: ssh root denied RazorOnFreeBSD wrote: Hi everyone, I have some troubles with ssh I have a Freebsd server 4.9 working in a closet without screen. So I would like to use it through ssh from another station with OpenSSH to configure it when I need it. I can connect with a user login / password, but not with root / password. Is there any reason ? did I miss something ? It's denied by default, as a security matter. You actually want to login and use 'su -' instead of login as root directly. If you really want to enable it, Edit the file /etc/ssh/sshd_config #PermitRootLogin yes Remove the hash. But, know that it's not secure, and you really don't want that. The login as normal user, (which need to be in the wheel group) and then su -'ing isn't that much work and doesn't take that much time, but it's more secure. Cheers -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh Connection refused
Hi everyone, I just had an electricity problem ... my freebsd server lost the power and shutted down without being requested. So far everything looks good on the system, except for sshd When the kernel boot up it is one of the daemons started, it is clearly written. Except that it's not anymore reachable from another pc. Just before this elictricity accident, everything was find and I could use remotely my freebsd server (thanks to you guys for the root tips), since then I can't even log with a regular user it says : ssh: connect to host 192.168.1.1 port 22: connection refused. I really think some file was altered by the electricity problem, but I searched without being successful I'm still learning the all thing about freebsd :/ !!! Thanks for your help. razor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh Connection refused
I have a firewall and it's running. But the outputs for the command ps -auxv | grep sshd are : root93 0.00.430082176??Is6:19PM0:00.16 /usr/sbin/sshd root1680.00.0336 204 v0R+ 6:58PM0:00.01 grep sshd I don't really understand why I have two processes from sshd and also why I can't connect if it is running (apparently). ??? - Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 1:55 AM Subject: Re: ssh Connection refused RazorOnFreeBSD wrote: Hi everyone, I just had an electricity problem ... my freebsd server lost the power and shutted down without being requested. So far everything looks good on the system, except for sshd When the kernel boot up it is one of the daemons started, it is clearly written. Except that it's not anymore reachable from another pc. Just before this elictricity accident, everything was find and I could use remotely my freebsd server (thanks to you guys for the root tips), since then I can't even log with a regular user it says : ssh: connect to host 192.168.1.1 port 22: connection refused. I really think some file was altered by the electricity problem, but I searched without being successful I'm still learning the all thing about freebsd :/ !!! Thanks for your help. So, you have console, we hope? First, make *sure* that sshd is running... $ps -auxv | grep sshd If it isn't, check /etc/rc.conf, it should say: sshd_enable=YES What about the firewall, do you have one? $ipfw show Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connect to Internet
No I didn't... Here is my netstat -r output : DestGatewayFlagsRefs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 But here I now have some conf files and other outputs to show you, that would be helpful : ifconfig outputs : rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255 inet6 ... ether ... media: Ethernet autoselect (100baseTX full duplex) status: Active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 ... ether ... media: Ethernet autoselect (10baseT/UTP) status: Active -- resolv.conf : domainRazor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83 -- hosts : ::1localhost localhost.my.domain 127.0.0.1localhost localhost.my.domain 192.168.1.1Razor.my.domain Razor 192.168.1.15 razor_work.my.domainrazor_work 192.168.1.16 Kitty.my.domain Kitty -- rc.conf : defaultrouter=12.103.21.1 gateway_enable=YEShostname=Razor ifconfig_rl0=inet 12.103.21.x netmask 255.255.255.0 ifconfig_dc0=inet 192.168.1.1 netmask 255.255.255.0 inetd_enable=NO kern_securelevel=2 kern_securelevel_enable=NO # I did that because it was required to rebuild the kernel up to a website keymap=fr.iso.acc linux_enable=YES nfs_server_enable=NO sendmail_enable=NO sshd_enable=NO usdb_enable=NO firewall_enable=YES firewall_type=OPEN firewall_quiet=NO natd_enable=YES natd_interface=rl0 natd_flags=/etc/fw/natdy.conf tcp_drop_synfin=YES -- natdy.conf : unregistered_only interface rl0 use_sockets punch_fw 2000:50 -- sysctl.conf : net.inet.tcp.strict_rfc1918=1 net.inet.ip.check_interface=1 net.inet.tcp.blackhole=1 net.inet.udp.blackhole=2 Tell me if you need other informations If I can connect Internet with the Freebsd box That would be great! Thanks a lot for helping. razor. - Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 2:44 AM Subject: Re: Connect to Internet RazorOnFreeBSD wrote: Ok I tried like you said Kevin to do a traceroute on 12.103.21.1 wich is what ISP call default gateway. It didn't work, the result looked like this : 1 * * * 2 * * * 3 * * * 4 * * * etc I wasn't patient enough for the fifth one! So I looked in resolv.conf and there was the IP of a DNS server : 12.127.17.83. I know this one works because I'm using it under windows currently. I decided to try this command : route add default 12.103.21.1 and maybe I was wrong, but I put this address also in the resolv.conf file before the other DNS entry. Then I rebooted and Traceroute and same results.. 1 * * * 2 * * * 3 * * * 4 * * * etc what do you think ? I've no idea, for sure. You've still not shown us your `netstat' output, have you? Or did I miss it somewhere... Hmm, try: #route add default 12.123.197.114 ---KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: very long boot sshd
I don't think sendmail is the problem... I disabled it from rc.conf... I might be wrong but here is what I found in the /var/log/messages that could be the suspicious : kernel: ad2: UDMA ICRC error cmd=read fsbn 145503 of 14550 #Twice kernel: ad2: UDMA ICRC error cmd=read fsbn 147135 of 14550 #4 times and then : 262 falling back to PIO mode The weirdest thing is that numbers seem to randomize a little bit. If we consider the previous outputs like .. fsbn A of B A and B are different each reboot ! I don't know if it's the reason of very slow booting but I didn't find anything about sendmail in /var/log/messages... Do you think I need to change my hardrive already ? It is just one year . :( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Internet 2
Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web I have setup a firewall_type=OPEN because i'm still testing but I also setup natd and gateway variables in the rc.conf file to what is needed up to majority of websites about firewall and gateways with Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up the NIC from sysinstall don't know if it's important! Well I don't understand why it doesn't work The tech guy from att hotline told me it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S Please somebody help me And I now have those outputs and conf file to go with : Here is my netstat -r output : DestGatewayFlagsRefs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 -- ifconfig outputs : rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255 inet6 ... ether ... media: Ethernet autoselect (100baseTX full duplex) status: Active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 ... ether ... media: Ethernet autoselect (10baseT/UTP) status: Active -- resolv.conf : domainRazor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83 -- hosts : ::1localhost localhost.my.domain 127.0.0.1localhost localhost.my.domain 192.168.1.1Razor.my.domain Razor 192.168.1.15 razor_work.my.domainrazor_work 192.168.1.16 Kitty.my.domain Kitty -- rc.conf : defaultrouter=12.103.21.1 gateway_enable=YEShostname=Razor ifconfig_rl0=inet 12.103.21.x netmask 255.255.255.0 ifconfig_dc0=inet 192.168.1.1 netmask 255.255.255.0 inetd_enable=NO kern_securelevel=2 kern_securelevel_enable=NO # I did that because it was required to rebuild the kernel up to a website keymap=fr.iso.acc linux_enable=YES nfs_server_enable=NO sendmail_enable=NO sshd_enable=NO usdb_enable=NO firewall_enable=YES firewall_type=OPEN firewall_quiet=NO natd_enable=YES natd_interface=rl0 natd_flags=/etc/fw/natdy.conf tcp_drop_synfin=YES -- natdy.conf : unregistered_only interface rl0 use_sockets punch_fw 2000:50 -- sysctl.conf : net.inet.tcp.strict_rfc1918=1
Re: Internet 2
Yes there is one, the first line is not : Razor 12.103.21.1 UGSc 2 105rl0 but : Default12.103.21.1 UGSc 2 105rl0 Sorry about that ! But it was a very long text to copy ! I don't see a default route. 'netstat -rn' should return a first line like: default 12.103.21.1 -- The meek will inherit the earth; the rest of us will go to the stars. Atom Powers Pyramid Brewery 206.682.8322 x251 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RazorOnFreeBSD Sent: Thursday, April 08, 2004 4:34 AM To: [EMAIL PROTECTED] Subject: Internet 2 Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web I have setup a firewall_type=OPEN because i'm still testing but I also setup natd and gateway variables in the rc.conf file to what is needed up to majority of websites about firewall and gateways with Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up the NIC from sysinstall don't know if it's important! Well I don't understand why it doesn't work The tech guy from att hotline told me it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S Please somebody help me And I now have those outputs and conf file to go with : Here is my netstat -r output : DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 -- ifconfig outputs : rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255 inet6 ... ether ... media: Ethernet autoselect (100baseTX full duplex) status: Active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 ... ether ... media: Ethernet autoselect (10baseT/UTP) status: Active -- resolv.conf : domainRazor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83 -- hosts : ::1localhost localhost.my.domain 127.0.0.1localhost localhost.my.domain 192.168.1.1Razor.my.domain Razor 192.168.1.15 razor_work.my.domainrazor_work 192.168.1.16 Kitty.my.domain Kitty -- rc.conf : defaultrouter=12.103.21.1 gateway_enable=YEShostname=Razor
Re: Internet 2
Are you sure about that ? Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN as 100MBits/s. I don't know why but it works with Windows. - Original Message - From: Peter Giessel [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 7:50 PM Subject: Re: Internet 2 switch your dc and rl in your rc.conf. your ifconfig shows that dc0 is plugged into your DSL (media: Ethernet autoselect (10baseT/UTP)), so your rc.conf should read: ifconfig_dc0=inet 12.103.21.x netmask 255.255.255.0 ifconfig_rl0=inet 192.168.1.1 netmask 255.255.255.0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet 2
I did that already and rl0 is my Internet NIC for what I saw. Thank you for helping so. - Original Message - From: Peter Giessel [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 8:32 PM Subject: Re: Internet 2 There is one way to tell for sure. Unplug your lan then run ifconfig -a again and see which one is no longer active. status on whichever interface is plugged into the lan should change from active to no carrier. On Thursday, April 08, 2004, at 04:58AM, RazorOnFreeBSD [EMAIL PROTECTED] wrote: Are you sure about that ? Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN as 100MBits/s. I don't know why but it works with Windows. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet 2
The hotline guy told me exactly those words... for sure I don't know if he right or not but what I'm sure is that I don't use PPP with windows and the same connection. But I installed the 5.1 from scratch And I tried to follow the steps from a FreeBSD book and from official websites for the network then. So as you can see I'm a lost newbie And I really need this gateway :s - Original Message - From: JJB [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 8:40 PM Subject: RE: Internet 2 You state. I have DSL and my ISP is ATT, I have a static IP which means I don't need to run PPP to connect. That is not true for 4.9 and I have not read anything which changes that for 5.x. Is 5.1 an buildworld to existing system where your setup worked previously? or install from scratch using cdrom? Explain. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of RazorOnFreeBSD Sent: Thursday, April 08, 2004 7:34 AM To: [EMAIL PROTECTED] Subject: Internet 2 Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web I have setup a firewall_type=OPEN because i'm still testing but I also setup natd and gateway variables in the rc.conf file to what is needed up to majority of websites about firewall and gateways with Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up the NIC from sysinstall don't know if it's important! Well I don't understand why it doesn't work The tech guy from att hotline told me it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S Please somebody help me And I now have those outputs and conf file to go with : Here is my netstat -r output : DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 -- ifconfig outputs : rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255 inet6 ... ether ... media: Ethernet autoselect (100baseTX full duplex) status: Active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 ... ether ... media: Ethernet autoselect (10baseT/UTP) status: Active -- resolv.conf : domainRazor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83
Connect to Internet
Hello, I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.20.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.20.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web I have setup a firewall_type=OPEN because i'm still testing but I also setup natd and gateway variables in the rc.conf file to what is needed up to majority of websites about firewall and gateways with Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up the NIC from sysinstall don't know if it's important! Well I don't understand why it doesn't work The tech guy from att hotline told me it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S Please somebody help me razor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connect to Internet
yes maybe you're right when I try your command arp -n -a it returns two lines The first one is the att gateway : 12.103.21.1. I guess it's the entry point to there backbone !? But there is no MAC address coming with... instead I have the mention incomplete . That could be my problem ??? If it is where could I find this particular MAC address ? Do I have to call them ? Or my setup was wrong ? I also have a second line referencing the freebsd box itself by the internal LAN NIC : 192.1668.1.1 with a MAC address is it normal ??? RazorOnFreeBSD wrote: Hello, I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.20.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.20.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web Do you have dns servers listed in /etc/resolv.conf? nameserver nameserver nameserver nameserver arp -n -a , does that mention the router's ip and mac addres? Try it (: -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unable to use BOOT EASY to boot linux
I had this issue between linux and windows and I had to install Lilo on the first disk only because bios is giving the hand to the first disk and from there you can setup your boot loader to recognize all systems available and where they are. I am not a specialist there, I just tell you what worked for me and what was the explanation given to me. - Original Message - From: Tadimeti Keshav [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 11:21 PM Subject: unable to use BOOT EASY to boot linux hi all. I added a 2 GB linux disk as a slave and installed Mandrake Linux with LILO on the root partition of linux. I am trying configure Boot Easy to boot linux. Since FreeBSD occupies all of the 1st HD, should I install a STANDARD boot loader on first or on both Hard disks. thx = -- K E S H A V T A D I M E T I -- Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connect to Internet
Ok I tried like you said Kevin to do a traceroute on 12.103.21.1 wich is what ISP call default gateway. It didn't work, the result looked like this : 1 * * * 2 * * * 3 * * * 4 * * * etc I wasn't patient enough for the fifth one! So I looked in resolv.conf and there was the IP of a DNS server : 12.127.17.83. I know this one works because I'm using it under windows currently. I decided to try this command : route add default 12.103.21.1 and maybe I was wrong, but I put this address also in the resolv.conf file before the other DNS entry. Then I rebooted and Traceroute and same results.. 1 * * * 2 * * * 3 * * * 4 * * * etc what do you think ? - Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: Remko Lodder [EMAIL PROTECTED] Cc: RazorOnFreeBSD [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 11:07 PM Subject: Re: Connect to Internet Remko Lodder wrote: RazorOnFreeBSD wrote: Hello, I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.20.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.20.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web Do you have dns servers listed in /etc/resolv.conf? nameserver nameserver nameserver nameserver arp -n -a , does that mention the router's ip and mac addres? Try it (: What's the default route? TCP/IP requires (amongst other things) an address and a default route. Here's one of mine: % netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default66.76.96.1 UGS 0 17570 xl0 Probably your second action, after pinging localhost and your local IP but before pinging Yahoo, should be a ping off the next-hop gateway. Your ISP should have told you this, and it should probably be in /etc/rc.conf as defaultrouter... Or, try traceroute(1) with some address (66.218.71.112 will get you Yahoo!) and see what happens. If you get a no route to host or similar, it's your IP configuration; if it's unknown host yahoo.com, it's your name resolution, as Remko was pointing out. If you have an IP addy but no gw, then you need to run, as root: #route add default ip.of.isp.gw HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
very long boot sshd
Hello, I am actually trying to fix my computer for network problems and so I often reboot. But each reboot is a real pain I don't know why the system loading is blocking on Starting sshd Any idea ? plz. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]