How to view TCP advertised window by using tcpdump?
I use TCP client to connect daytimesesrver which port is 13,I want to know how to use tcpdump to view TCP advertised window? Where is the TCP advertised window in the tcpdump result? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tcpdump question
There is a server and a clinet,the use TCP and port is ,server and client is the same machine. I use following step: 1.client send a hello to server 2.server return a hello to client 3.stop client 4.stop server I use tcpdump to watch tcp package,result is follows: 15:47:15.875447 IP (tos 0x0, ttl 64, id 417, offset 0, flags [DF], proto TCP (6), length 60) edward.com.56773 edward.com.: S, cksum 0x80e8 (correct), 3156022143:3156022143(0) win 65535 mss 16344,nop,wscale 3,sackOK,timestamp 4141177 0 15:47:15.876005 IP (tos 0x0, ttl 64, id 418, offset 0, flags [DF], proto TCP (6), length 60) edward.com. edward.com.56773: S, cksum 0x4b72 (correct), 2047624831:2047624831(0) ack 3156022144 win 65535 mss 16344,nop,wscale 3,sackOK,timestamp 822232023 4141177 15:47:15.876007 IP (tos 0x0, ttl 64, id 419, offset 0, flags [DF], proto TCP (6), length 52) edward.com.56773 edward.com.: ., cksum 0x915e (correct), ack 1 win 8960 nop,nop,timestamp 4141177 822232023 15:47:17.170067 IP (tos 0x0, ttl 64, id 420, offset 0, flags [DF], proto TCP (6), length 58) edward.com.56773 edward.com.: P, cksum 0x6865 (correct), 1:7(6) ack 1 win 8960 nop,nop,timestamp 4142472 822232023 15:47:17.170535 IP (tos 0x0, ttl 64, id 421, offset 0, flags [DF], proto TCP (6), length 58) edward.com. edward.com.56773: P, cksum 0x6350 (correct), 1:7(6) ack 7 win 8960 nop,nop,timestamp 822233318 4142472 15:47:17.270236 IP (tos 0x0, ttl 64, id 422, offset 0, flags [DF], proto TCP (6), length 52) edward.com.56773 edward.com.: ., cksum 0x86d0 (correct), ack 7 win 8960 nop,nop,timestamp 4142572 822233318 15:47:27.602760 IP (tos 0x0, ttl 64, id 423, offset 0, flags [DF], proto TCP (6), length 52) edward.com.56773 edward.com.: F, cksum 0x5e72 (correct), 7:7(0) ack 7 win 8960 nop,nop,timestamp 4152905 822233318 15:47:27.603085 IP (tos 0x0, ttl 64, id 424, offset 0, flags [DF], proto TCP (6), length 52) edward.com. edward.com.56773: ., cksum 0x35b1 (correct), ack 8 win 8960 nop,nop,timestamp 822243751 4152905 15:51:58.146875 IP (tos 0x0, ttl 64, id 433, offset 0, flags [DF], proto TCP (6), length 52) edward.com. edward.com.56773: F, cksum 0x14cb (correct), 7:7(0) ack 8 win 8960 nop,nop,timestamp 822514312 4152905 15:51:58.146978 IP (tos 0x0, ttl 64, id 434, offset 0, flags [DF], proto TCP (6), length 52) edward.com.56773 edward.com.: ., cksum 0xf3e6 (correct), ack 8 win 8959 nop,nop,timestamp 4423466 822514312 I want to know what's meaning of 'S','.','P','F'? Anyone could explain above tcpdump result? I don't understand above result well. Thanks in advance! Best Regards, Edward -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where is wrong with tcpdump?
I want to watch ip:172.0.10.2 port:19 TCP information,so I use following command: #tcpdump tcp port 19 host 172.0.10.2 tcpdump: syntax error Why? How to do it? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why tcpdump don't work?
I have a server and a client,they use TCP to communication.For example,when client send a message to server,the server return the same message to client,then client show it.When client or server shutdown,it will send FIN.So I want to use tcpdump to watch it. The server and client in the same machine,the IP is 172.0.10.2 and the port is #ifconfig le0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:0b:31:76:35:31 inet6 fe80::20c:29ff:fe76:356a%le0 prefixlen 64 scopeid 0x1 inet 172.0.10.2 netmask 0xff00 broadcast 172.0.10.255 media: Ethernet autoselect status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 #tcpdump tcp port and host 172.0.10.2 tcpdump:verbose output suppressed,use -v or -vv for full protocol decode listening on le0,link-type EN10MB (Ethernet),capture size 96 bytes #tcpdump -v tcp port and host 172.0.10.2 tcpdump:listening on le0,link-type EN10MB (Ethernet),capture size 96 bytes when client and server communication or client shutdown,tcpdump don't show any message! Why? I am very puzzle with it! How to show server and client tcp communication information by using tcpdump? Thanks! -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to set TCP parameter?
How to set TCP parameters,such as tcp_time_wait_interval? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to set TCP parameter?
Yes,I want to modify spent in the TIME_WAIT state? How to realize it? I use sysctl to view TCP parameter,but it failed $sysctl TCP_TIME_WAIT_INTERVAL sysctl: unknown oid 'TCP_TIME_WAIT_INTERVAL' Where is wrong? - Original Message - From: Patrick Mahan [EMAIL PROTECTED] To: EdwardKing [EMAIL PROTECTED] Cc: FreeBSD freebsd-questions@freebsd.org Sent: Wednesday, August 20, 2008 9:59 AM Subject: Re: How to set TCP parameter? EdwardKing presented these words - circa 8/19/08 6:17 PM- How to set TCP parameters,such as tcp_time_wait_interval? You should use 'sysctl'. See 'man 8 sysctl'. However, I don't see any time wait variables available via sysctl. Are you trying to modify the time spent in the TIME_WAIT state? Patrick Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PGP export question
I use gpg 1.4.9, $gpg --list-keys /home/edward/.gnupg/pubring.gpg then I want to export pubkey, $gpg -armor --export keyID pubkey.asc gpg:WARNING: nothing exported This content of pubkey.asc is empty,why I can't export the pubkey? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to visit U disk?
I plug USB and FressBSD shows: $umass0: vendor 0x0c45 USB Mass Storage Device, class 0/0, rev 1.10/1.00, addr 2 on uhub0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB NAND FLASH DISK 0.20 Removable Direct Access SCSI-2 device da0:1.000MB/s transfers da0:125MB (256000 512 byte sectors: 64H 32S/T 125C) uhub2:vendor 0x0e0f VMware Virtual USB Hub, class 9/0, rev 1.10/1.00, addr 3 on uhub0 uhub2: 7 ports with 7 removable, self powered Then I use dmesg: $dmesg | grep ^da da0 at umass-sim0 bus 0 target 0 lun 0 da0:USB NAND FLASH DISK 0.20 Removable Direct Access SCSI-2 device da0:1.000MB/s transfers da0:125MB (256000 512 byte sectors: 64H 32S/T 125C) $mount -t msdosfs dev/da0s1c /mnt mount_msdosfs: /dev/da0s1c: Operation not permitted $mount -t msdosfs dev/da0 /mnt mount_msdosfs: /dev/da0: Operation not permitted Where wrong of visiting USB? Thanks - Original Message - From: Polytropon [EMAIL PROTECTED] To: EdwardKing [EMAIL PROTECTED] Cc: FreeBSD freebsd-questions@freebsd.org Sent: Wednesday, August 13, 2008 6:34 PM Subject: Re: How to visit U disk? On Tue, 12 Aug 2008 08:53:18 +0800, EdwardKing [EMAIL PROTECTED] wrote: I want to use U disk which format is FAT32,I don't know how to visit U disk,my dev directory is follows: #cd /dev #ls ... usb usb0 usb1 ... How to do it? Thanks in advance I just try to guess what you're trying to do: Acces an USB hard disk? Look out for /dev/da* device files that occur when connecting the disk, or: # dmesg | grep ^da The da* files - direct access - are the special files to access USB drives. Then you can mount them as you like (FAT32 - msdosfs): # mount -t msdosfs /dev/da0s1c /mnt or something similar. mount_msdosfs allows some options to get the file attributes correct, read man mount_msdosfs to learn more about it. Hope that was the question. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SSH question
I use SSH to remote FreeBSD $ssh [EMAIL PROTECTED] password: Then I SSh to suspend client in that remote machine: $~ /home/tom: Permission denied Permission denied? Why? How to do that? -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to start File Manager?
I use FreeBSD7.0, I start graphics screen #startx Then I find one login window,two xterm windows and one clock window. I want to know whether BSD has File Manager window,such as Unix CDE? If has,how to start File Manager? Which command can I use? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to visit U disk?
I want to use U disk which format is FAT32,I don't know how to visit U disk,my dev directory is follows: #cd /dev #ls ... usb usb0 usb1 ... How to do it? Thanks in advance -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to compile a c file into out file?
I compile a c file,like follows: $gcc other1.obj other2.obj myfile.c Then it create a a.out file.my question is how to create a file named myfile.out instead of name a.out? -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to change process status?
I use FreeBSD7.0 $./a.out $ There is show nothing,like such as [1] 27537 Why? - Original Message - From: Fernando ApesteguĂa [EMAIL PROTECTED] To: EdwardKing [EMAIL PROTECTED] Cc: FreeBSD freebsd-questions@freebsd.org Sent: Monday, July 21, 2008 2:32 PM Subject: Re: How to change process status? On 7/21/08, EdwardKing [EMAIL PROTECTED] wrote: I make a process running in background,like follows: $./a.out I want to know how to change a.out from backgound to foreground and how to stop it? with fg and the number the shell returns after you placed the process in the background. Let's say: $./a.out [1] 27537 fg %1 -- Here the shell will bring the process to the foreground -- Now you can stop it with Ctrl-c for instance. Cheers Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to change process status?
I make a process running in background,like follows: $./a.out I want to know how to change a.out from backgound to foreground and how to stop it? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to delete mail letter
I use mail command to read mail and quit mail,like follows: $mail ?1 ?q Save 1 message in mbox Then I use mail command again $mail No mail for edward How to delete my letter in mbox which have read? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
inetd[860]: ssh/tcp: bind: Address already in use
I use FreeBSD7.0,I find some time it raise following information: inetd[860]: ssh/tcp: bind: Address already in use I look up my /etc/rc.conf file,it contains: inetd_enable=YES sshd_enable=YES /etc/inetd.conf file contains: sshstream tcpnowait root /usr/sbin/sshd sshd -i -4 #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6 Where wrong with my BSD system? How to solve it? Any idea will be appreciated! Edward -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ 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 work
* Did you do anything to enable Sendmail (the default mail transfer agent)? It's enabled by default on localhost. How to make FreeBSD mail to work? - Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] To: EdwardKing [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, July 11, 2008 9:06 AM Subject: Re: mail not work On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing [EMAIL PROTECTED] wrote: I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? mailx depends on a correctly configured `mail transfer agent', and it expects the *login* name of a user, not their real name. * Do you have a local user whose login name is `Kate'? * Did you do anything to enable Sendmail (the default mail transfer agent)? * What does the `/var/log/maillog' file contain? -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why can't ping
I configure ed0 when I install FreeBSD7.0,like follows: Host:test.example.com Domain:test.com IPv4 GateWay: 172.18.0.1 Name server: 172.18.0.250 IPv4 Address: 172.18.0.19 Netmask:255.255.255.0 Then I Ping itself,like follows: #ping 172.18.0.19 Then result is failure: ping: sendto: No route to host Why? I use ifconfig -a to show my ip,like follows: le0: flags=8843 UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8 VLAN_MTU either 00:0d:18:23:32:7a inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 media: Ethernet autoselect status: active plip0:flags=108810 POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 1500 lo0:flags=8049 UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 Where is my following configure information, I can't find them! Host:test.example.com Domain:test.com IPv4 GateWay: 172.18.0.1 Name server: 172.18.0.250 IPv4 Address: 172.18.0.19 Netmask:255.255.255.0 What raise to lost my configure information? How to configure my ip and how to ping successly? I am a newer to BSDUnix,please give me detail steps. Thanks in advance! Best regards, Edward -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to set vi line number?
my first question is whether vi can show line number,such as 1: 2: 3:? my second question is whether vi support c syntax,such as show #include with other different color? How to modify to realize above function? thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mail not work
I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ 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 work
* Do you have a local user whose login name is `Kate'? I have a local user whose login name is `Kate' * Did you do anything to enable Sendmail (the default mail transfer agent)? How to enable Sendmail? * What does the `/var/log/maillog' file contain? I have maillog,its contains is follows, how to make mail work? Jul 9 17:45:58 k6-2 newsyslog[585]: logfile first created Jul 9 17:46:02 k6-2 sm-mta[760]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 17:46:02 k6-2 sm-msp-queue[764]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 18:16:31 k6-2 sm-mta[761]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 18:16:31 k6-2 sm-msp-queue[765]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 19:20:05 k6-2 sm-mta[761]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 19:20:05 k6-2 sm-msp-queue[765]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: from=Tom, size=86, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: from=[EMAIL PROTECTED], size=414, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=30414, dsn=4.4.3, stat=queued Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: to=Kate, ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30086, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69E98rr001315 Message accepted for delivery) Jul 9 22:17:17 k6-2 sendmail[1351]: m69EHHKv001351: from=Tom, size=25, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:17:17 k6-2 sm-mta[1352]: m69EHHJs001352: from=[EMAIL PROTECTED], size=353, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:17:17 k6-2 sm-mta[1352]: m69EHHJs001352: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=30353, dsn=4.4.3, stat=queued Jul 9 22:17:17 k6-2 sendmail[1351]: m69EHHKv001351: to=Kate, ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30025, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69EHHJs001352 Message accepted for delivery) Jul 9 22:22:48 k6-2 sendmail[1381]: m69EMmKR001381: from=Kate, size=29, class=0, nrcpts=2, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: from=[EMAIL PROTECTED], size=368, class=0, nrcpts=2, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=60368, dsn=4.4.3, stat=queued Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=60368, dsn=4.4.3, stat=queued Jul 9 22:22:48 k6-2 sendmail[1381]: m69EMmKR001381: to=Tom,for, ctladdr=Kate (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69EMmsR001382 Message accepted for delivery) Jul 9 22:54:32 k6-2 sendmail[1476]: m69EsW8m001476: from=Tom, size=42, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:54:32 k6-2 sendmail[1476]: m69EsW8m001476: [EMAIL PROTECTED], delay=00:00:00, mailer=esmtp, pri=30042, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[778]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 10 18:53:18 k6-2 sm-mta[780]: m69EMmsR001382: m6AArIqi000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqi000780: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=31604, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[780]: m69EHHJs001352: m6AArIqj000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqj000780: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=31641, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[780]: m69E98rr001315: m6AArIqk000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqk000780: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=31702, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-msp-queue[784]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 10 18:53:18 k6-2 sm-msp-queue[786]: m69EsW8m001476: m6AArIvV000786: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[790]: m6AArImM000790: from=, size=2017, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 10 18:53:18 k6-2 sm-mta[790]: m6AArImM000790: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=32017, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-msp-queue[786]: m6AArIvV000786: to=Tom, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31410,
locate:database too small
I use locate command,like follows: $locate mail locate:database too small: /var/db/locate.database I know it need to update from document: /usr/libexec/locate.updatedb ,but I don't know how to execute above command,I am a newer to Unix,how to do it? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]