C and MySQL.

2000-08-24 Thread Mike Almogy
Hi list. Can someone please send me an example for C program that uses Mysql ? I need a simple program that shows how to connect to the database, doing a search and exit. Just the basics. I will also need the compilation string,

Re: The HOWTO-ADSL-BEZEQ

2000-08-24 Thread Tzafrir Cohen
On Thu, 24 Aug 2000, Alex Dubrovsky wrote: > OR wrote: > > > > it is an HEBREW HOWTO!!! > Ok. Let me ask you REALLY slow: > You install a stock rh 6.2 distro. > you go into your /usr/doc/HOWTO dir > you open your HEBREW-HOWTO and.see GIBBERISH. > Phase 2: you go to linuxdoc.org , you open it

Re: using dial-up connection over lan

2000-08-24 Thread Mike Almogy
Hi. You need to install wingate or something like this on the WinNT. That will enable the WinNT to act as a router. Since Wingate cost money, you can use the Linux box as router. You will have to transfer the modem to it and to recompile the kernel to support ip masquerading. (Plus support for PP

Re: MSIE automatic proxy config

2000-08-24 Thread Gilad Ben-Yossef
> Gilad Ben-Yossef wrote: > > > > Gavrie Philipson wrote: > > > > > > Why would the router have to perform NAT? It just has to block outgoing > > > connections to port 80, and reroute them to the port that Squid listens > > > on. > > > > Routing the packets meant for the remote web server to the

Re: C and MySQL.

2000-08-24 Thread Evgeny Zemlerub
It will be something like this : --- #include #include #include #include MYSQL mysql; MYSQL_RES *res; MYSQL_ROW row; int main(){ char query[128]; mysql_init(&mysql); if (!mysql_real_connect(&mysql,"localhost","user","pass","mysql",0,"/var/lib/m

Re: MSIE automatic proxy config

2000-08-24 Thread Shachar Shemesh
Gilad Ben-Yossef wrote: > > Ah... but this page specifically (item #7) instruct the seekers of > transparent proxies to turn on the *kernel* IPchains firewalling/NAT > code on and use it's transparent proxy option. What this option does is > rewriting packets going through the machine (the "for

Re: MSIE automatic proxy config

2000-08-24 Thread Shachar Shemesh
Gavrie Philipson wrote: > Whatever you call it, it's not something specific to Linux. I have no > experience with Checkpoint firewalls (IIRC, that's what Shachar > mentioned), but surely they can redirect a packet from one port to > another one? > > Gavrie. > > -- > Gavrie Philipson > Netmor Ap

Re: MSIE automatic proxy config

2000-08-24 Thread Shachar Shemesh
Gavrie Philipson wrote: > GWhatever you call it, it's not something specific to Linux. I have no > experience with Checkpoint firewalls (IIRC, that's what Shachar > mentioned), but surely they can redirect a packet from one port to > another one? > > Gavrie. > > -- > Gavrie Philipson > Netmor A

Re: MSIE automatic proxy config

2000-08-24 Thread Gilad Ben-Yossef
Shachar Shemesh wrote: > > Gilad Ben-Yossef wrote: > > You know what, it's a border line case. Let's call it a draw ;-) > > Actually, I don't believe in draws. Either I need to route all my traffic through > the linux machine, or I don't. If I do - I don't care whether NAT is being > employed

IA-64 compiler

2000-08-24 Thread Constantin Eizner
http://developer.intel.com/software/compilers/index.htm = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]

IA Platform Network Driver Porting Kit for Linux Drivers

2000-08-24 Thread Constantin Eizner
http://www.sun.com/solaris/ndpkit.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]

using dial-up connection over lan

2000-08-24 Thread Noam Ben Haim
Hi all, I have 2 machines at home, one running WINNT and the other Linux. my Dial-up connection is set in the NT machine (the modem is there, soon to be (hopefully) cable modem). I want to use this dial up connection to connect to the Internet from my linux machine which is conected to the NT mac

RE: using dial-up connection over lan

2000-08-24 Thread Oved Blass
With Windows 2000 you can have a fairly easy solution. Windows 2000 includes a router software that supports demand dialing and NAT (Network Address Translation). Oved Blass FixFax - Get a virtual number in 03 area for faxes via e-mail http://fixfax.co.il -Original Message- From: [EMAIL

Re: IA-64 compiler

2000-08-24 Thread Isaac Aaron
Ahem... That is for Windows... Isaac Aaron Azorim Construction Constantin Eizner

Re: IA-64 compiler

2000-08-24 Thread Evgeny Zemlerub
Now if someone will post link to the place that is selling IA-64( aka Itanic) servers this link can be usefull (of course if you have spare n*10K$ (where n>1)) Constantin Eizner wrote: > http://developer.intel.com/software/compilers/index.htm > >

RE: The HOWTO-ADSL-BEZEQ

2000-08-24 Thread solomon
First of all, thanks for the HOWTO and all the work that went into writing it. On 23-Aug-2000 Dani Arbel wrote: > Attached is the doc for using bezeq adsl under Linux. > Your experience will be most apreciated. I'll let you know after it's installed here, but before that, I have a few questions a

Re: using dial-up connection over lan

2000-08-24 Thread Aviram Jenik
+AD4- Hi. +AD4- +AD4- You need to install wingate or something like this on the WinNT. +AD4- That will enable the WinNT to act as a router. +AD4- Since Wingate cost money, you can use the Linux box as router. Actually Wingate is free for two stations (one being the gateway machine). So in Noa

Re: using dial-up connection over lan

2000-08-24 Thread Aviram Jenik
+AD4- With Windows 2000 you can have a fairly easy solution. Windows 2000 includes +AD4- a router software that supports demand dialing and NAT (Network Address +AD4- Translation). +AD4- It's called ICS (Internet Connection Sharing) and Windows 98SE has that too. The drawback with Windows 20

RE: using dial-up connection over lan

2000-08-24 Thread Dinar, Avishay
Most cable modems (the ones I have used so far - Siemens/Samsung) has to be connected via RJ45 input to your prefered 10/100 ethernet card, thus, linux CAN support this type of connection. Thanks, --- Avishay Dinar, MCSE, MCP+I Technolog

MySQL question

2000-08-24 Thread Aviram Jenik
Hi. According to the docs, MySQL listens for outside connections. I'm going to use MySQL from the localhost, and I don't want it to bind to the eth interface. Is there a way to restrict it to the loopback interface? Yes, I know I can block it via ipchains, and don't worry, I will. However, I wou

RE: The HOWTO-ADSL-BEZEQ

2000-08-24 Thread Dani Arbel
On Thu, 24 Aug 2000 [EMAIL PROTECTED] wrote: > First of all, thanks for the HOWTO and all the work that went into writing it. welcome > > On 23-Aug-2000 Dani Arbel wrote: > > Attached is the doc for using bezeq adsl under Linux. > > Your experience will be most apreciated. > I'll let you kno

Re: MySQL question

2000-08-24 Thread Stanislav Malyshev a.k.a Frodo
AJ>> According to the docs, MySQL listens for outside connections. AJ>> I'm going to use MySQL from the localhost, and I don't want it AJ>> to bind to the eth interface. Is there a way to restrict it to AJ>> the loopback interface? In /etc/my.cnf: [mysqld] skip-networking Prevents mysql from li

Re: MySQL question

2000-08-24 Thread Evgeny Zemlerub
1) +AHw--( 24 August 2000, 23:17:03)-(/usr/local/src/daemontools-0.70)-- +AHw--(boss+AEA-oblom)-+AFs- mysqld --help +AHw- grep IP --bind-address+AD0-IP Ip address to bind t 2) http://www.mysql.com/documentation/mysql/full/manual+AF8-toc.html+ACM-Option+AF8-files 3) :-) http://www.thinkgeek

Re: MSIE automatic proxy config

2000-08-24 Thread guy keren
On Thu, 24 Aug 2000, Shachar Shemesh wrote: > What I see here is that I need to install on my router a rule that says, > more or less, "If the packet is destined to go to port 80 of any > machine, route it to the proxy, otherwise, route it usually". I don't > think a regular router can do such a

Runaway Clock

2000-08-24 Thread benavrhm
Hi, The system clock on my Digital Venturis FX running RedHat 6.2 drifts forward at nearly one day per day. The hardware clock seem to be Ok. Anyone seen this? Regards, - yba -- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA~. .~ TclTek Ltd. =}--