[newbie] Linux Mandrake 9.0
Hello, I just a hard drive crash with my server that was running Linux mandrake 8.1. I replace the hard drive and loaded Linux Mandrake 9.0. restore information from my backup and everything seem to be running fine. I then try to setup internet connection. This is where i'm having the problem at. Now i cannot get the server to see anything on the local lan. The local lan can ssh into the server and serf the internet and i'm able to get my email. I had samba set up before i install the internet connection now i'm unable to connect via samba or nfs. I change the firewall settings to allow everything and this stop the lan from access the internet. is there something i can do to correc this. Bill Nash NREMT-Paramedic Critical Care Paramedic EMS Instructor Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Linux Mandrake 9.0
Hello, I just a hard drive crash with my server that was running Linux mandrake 8.1. I replace the hard drive and loaded Linux Mandrake 9.0. restore information from my backup and everything seem to be running fine. I then try to setup internet connection. This is where i'm having the problem at. Now i cannot get the server to see anything on the local lan. The local lan can ssh into the server and serf the internet and i'm able to get my email. I had samba set up before i install the internet connection now i'm unable to connect via samba or nfs. I change the firewall settings to allow everything and this stop the lan from access the internet. is there something i can do to correc this. Bill Nash NREMT-Paramedic Critical Care Paramedic EMS Instructor Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Linux Mandrake 9.0
I only have 3 computer that connect to the computer. I have 1 server. my wife computer and the computer i use that is it. I know there has to be a way to correct this. I will keep reading the doc and man pages again. Bill Nash On Sunday 19 Jan 2003 4:59 pm, [EMAIL PROTECTED] wrote: Hello, I just a hard drive crash with my server that was running Linux mandrake 8.1. I replace the hard drive and loaded Linux Mandrake 9.0. restore information from my backup and everything seem to be running fine. I then try to setup internet connection. This is where i'm having the problem at. Now i cannot get the server to see anything on the local lan. The local lan can ssh into the server and serf the internet and i'm able to get my email. I had samba set up before i install the internet connection now i'm unable to connect via samba or nfs. I change the firewall settings to allow everything and this stop the lan from access the internet. is there something i can do to correc this. I'm sure someone more expert will give you a full answer in an hour or two, but just as a starter - I understand that there have been many connection problems where the default firewall has been installed, shorewall, I think it's called. If that is the case, you should uninstall it and look for alternatives on your disks. As I said, a good deal more advice should follow this. Good luck. Anne -- Registered Linux User No.293302 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Linux Mandrake 9.0
This is my rules for shorewall. Shorewall version 1.3 - Rules File # # /etc/shorewall/rules # # Rules in this file govern connection establishment. Requests and # responses are automatically allowed using connection tracking. # # In most places where an IP address or subnet is allowed, you # can preceed the address/subnet with ! (e.g., !192.168.1.0/24) to # indicate that the rule matches all addresses except the address/subnet # given. Notice that no white space is permitted between ! and the # address/subnet. # # Columns are: # # # ACTION ACCEPT, DROP, REJECT, DNAT or REDIRECT # # ACCEPT -- allow the connection request # DROP -- ignore the request # REJECT -- disallow the request and return an # icmp-unreachable or an RST packet. # DNAT -- Forward the request to another # system (and optionally another # port). # REDIRECT -- Redirect the request to a local # port on the firewall. # # May optionally be followed by : and a syslog log # level (e.g, REJECT:info). This causes the packet to be # logged at the specified level. # # SOURCE Source hosts to which the rule applies. May be a zone # defined in /etc/shorewall/zones or $FW to indicate the # firewall itself. If the ACTION is DNAT or REDIRECT, # sub-zones of the specified zone may be excluded from # the rule by following the zone name with !' and a # comma-separated list of sub-zone names. # # Clients may be further restricted to a list of subnets # and/or hosts by appending : and a comma-separated # list of subnets and/or hosts. Hosts may be specified # by IP or MAC address; mac addresses must begin with # ~ and must use - as a separator. # # dmz:192.168.2.2 Host 192.168.2.2 in the DMZ # # net:155.186.235.0/24Subnet 155.186.235.0/24 on the # Internet # # loc:192.168.1.1,192.168.1.2 # Hosts 192.168.1.1 and # 192.168.1.2 in the local zone. # loc:~00-A0-C9-15-39-78 Host in the local zone with # MAC address 00:A0:C9:15:39:78. # # Alternatively, clients may be specified by interface # by appending : followed by the interface name. For # example, loc:eth1 specifies a client that # communicates with the firewall system through eth1. # # DESTLocation of Server. May be a zone defined in # /etc/shorewall/zones or $FW to indicate the firewall # itself. # # The server may be further restricted to a particular # subnet, host or interface by appending : and the # subnet, host or interface. See above. # # The port that the server is listening on may be # included and separated from the server's IP address by # :. If omitted, the firewall will not modifiy the # destination port. A destination port may only be # included if the ACTION is DNAT or REDIRECT. # # Example: loc:192.168.1.3:3128 specifies a local # server at IP address 192.168.1.3 and listening on port # 3128. The port number MUST be specified as an integer # and not as a name from /etc/services. # # if the ACTION is REDIRECT, this column needs only to # contain the port number on the firewall that the # request should be redirected to. # # PROTO Protocol - Must be tcp, udp, icmp, a number, # all or related. If related, the remainder of the # entry must be omitted and connection requests that are # related to existing requests will be accepted. # # DEST PORT(S)Destination Ports. A comma-separated list of Port # names (from /etc/services), port numbers or port # ranges; if the protocol is icmp, this column is # interpreted as the
[newbie] Help with learning to program
Hello, Im trying to learn to program in c++. I bought a book and I install the software on a windows machine and was able to run my first program. Now I would like to run this on a linux mandrake 9.0 machine. I do not know how to do this. This is the program I use from the book. #includeiostream int main() { std::coutHello, new world!\n; } Sorry if this is the wrong newsgroup. I type the following and I get a error Gcc hello.cpp Is there a program I can use like visual c++ 6.0 under linux. Thanks Bill Nash
RE: [newbie] Help with learning to program
I have not tried KDeveloper yet I'm will install it now. You said I was missing some syntax. May I ask what am I missing. I copy this from the book. The c++ programming language 3rd edition. Thanks bill nash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Stephen Kuhn Sent: Saturday, November 16, 2002 3:49 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Help with learning to program On Sun, 2002-11-17 at 07:25, wrnash wrote: Hello, I'm trying to learn to program in c++. I bought a book and I install the software on a windows machine and was able to run my first program. Now I would like to run this on a linux mandrake 9.0 machine. I do not know how to do this. This is the program I use from the book. #includeiostream int main() { std::coutHello, new world!\n; } Sorry if this is the wrong newsgroup. I type the following and I get a error Gcc hello.cpp Is there a program I can use like visual c++ 6.0 under linux. Thanks Bill Nash Seems as though there's some syntax missing from this - as well as proper include statements... Have you tried this under KDeveloper yet? -- Sun Nov 17 07:45:01 EST 2002 |____ | | / \ /| |'-. | | .\__/ || | | | | _ / `._ \|_|_.-' | | | / \__.`=._) (_ |kuhn media australia | |/ ._/ || |http://kma.0catch.com | |'. `\ | | |stephen kuhn | ;/ / | | |email: [EMAIL PROTECTED] | smk ) /_/| |.---.| |mobile: 0410-728-389 | ' `-`' |linux user:267497 I'd love to help you -- it's just that the Boss won't let me near the computer. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Help with learning to program
Thanks that worked. Now if I just learn to program thanks Bill Nash. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David C. Fox Sent: Saturday, November 16, 2002 4:15 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Help with learning to program wrnash wrote: Hello, I?m trying to learn to program in c++. I bought a book and I install the software on a windows machine and was able to run my first program. Now I would like to run this on a linux mandrake 9.0 machine. I do not know how to do this. This is the program I use from the book. #includeiostream int main() { std::cout?Hello, new world!\n?; } Sorry if this is the wrong newsgroup. Probably, but since you're here... I type the following and I get a error Gcc hello.cpp In general, it would be helpful if you report the specific error, as well as the version of gcc you are using (gcc --version should tell you). When I try this on Mandrake 8.1, gcc 2.96, I get errors from the linker, ld, about undefined references to cout and ostream::operator. However, if I type g++ hello.cpp it compiles and runs fine. It likes like gcc (2.96 at least) doesn't assume from the filename extension that you are compiling C++ rather than C (or at least doesn't automatically link with the proper libraries). I'm rather surprised at that, but anyway try using g++ and see if that works. Is there a program I can use like visual c++ 6.0 under linux. I'm not so familiar with C++ integrated development environments for Linux, so I'll have to let someone else answer that. Thanks Bill Nash Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VPN Connection
I was looking at setting a VPN also so i could use my server resource like printer and connect to my PIM. Bill VPN = Virtual Private Network, i.e. one based on PPTP or L2TP protocols. It allows you to create a secure tunnel (i.e. encrypted) through an unsecure medium (the internet, for example). VNC = Virtual Network Computing, as you say, is a tool that only allows a remote display. I guess Bill wants to avoid FTP since it is insecure. That said, I don't know how to set up a VPN :-( raffaele [EMAIL PROTECTED] wrote: Bill, VNC isn't really for transferring files--it's for using a computer remotely. I think what you need to do is run a FTP server on your Linux box. Miark William R. Nash [EMAIL PROTECTED] saith: Hello, I would like to set up a VPN so I can connect to my computer from work. This is what I have . I have a laptop with windows XP that I take to work. I need to be able to connect Via VPN so I can get some files from my Linux mandrake 8.0 server at home. I do not how to set up a VPN to allow windows users to connect. any help thanks Bill Nash. Bill Nash Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com