LINUX.ORG.RU

Сообщения virgin13

 

ORACLE+C

Privet vsem. Rebiata, kak mne v ORACLE 9I SQL zaprosi posilat' iz C? Esli ODBC to kakaia versia? Esli mogno kakie-nit' primeri v C. Zaranee blagodaren. Tolik.

virgin13
()

PPP+ARM

Privet vse. Kak otkompilit' ppp pod ARM sistemu? Zaranee blagodaren. Tolik.

virgin13
()

pppd

Privet vsem. Probuiu sdelat' GPRS dlia ARM. Kernel 2.4.27-vrs1 Dozvanivaetsia, posilaet LCP zapros a v otvet ni4ego. Na ubo4noj sisteme vse rabotaet. Moget 4ego ne hvataet v kernel dlia togo 4tobi polu4iat' LCP?

Zaranee spasibo. Anatoliy

virgin13
()

SET DISPLAY variable

Privet vsem.
Linux from scratch s X11. Sistema imeet 2 video karti. Ne mogu poniat', kto ustanavlivaet peremennuiu DISPLAY dlia kagdogo monitora. Gde rit?
Zaranee blgodaren.
Tolik.

virgin13
()

AGP+PCI

PRivet vsem.
Zada4a: 2 monitora+tv-Out.
Situazia takova: 2 videokarti- AGP + PCI. Zavodit'sia ne hotiat ni v kakuiu. 2 PCI rabotaiut otli4no. Kak mne ih podrugit'?

Zaranee blagodaren.
Tolik.

P.S.: crt+dvi ne predlagat', t.k. na DVI ne meniaetsia razre6enie, hot' ti tresni.

virgin13
()

Okna bez ramok???

Privet vsem. Rebiata, vozmogno li pokazat' oko6ko mplayer'a bez ramki? Esli da, to v kakom WM? I poslednee: kak mne iz komandnoj stroki izmenit' razre6enie monitora i perezapustit' X? zaranee blagodaren. Tolik

virgin13
()

MS SQL SERVER + C?

Privet vsem.Rebiata, kak mono dostu4at'sia k Microsoft SQL serveru 4erez C?
Zaranee blagodaren.
Tolik.

virgin13
()

set locale LC_ALL

Privet vsem.
Rebiata, perl vidaet takuiu o6ibku:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "En_US",
LANG = "[ll]_[CC]"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Sistema: LinuxFromScratch.
Kak mne nastroit' locale?

virgin13
()

FORK + socket FD

Privet all.
Programma client+server.Server multi-thread na fork.
Realizoval tablizu FD clientov v shared memory.
Kak mne iz odnogo child poslat' msg v FD socket drugogo child?
Obi4nim sposobom "send(shm->FD,msg,sizeof(msg),0)..." ne polu4aetsia.
Zaranee blagodaren.
Tolik.

virgin13
()

Courier: relaying denied. HELP!!!

Privet vsem.
Pitaius' nastroit' courier.
Domain dlia mail activiroval. Otpravliaiu mail na probnij account i vot 4to govorit log:
May 31 11:41:43 www courieresmtpd: error,relay=::ffff:195.130.225.11,from=<watchsystem@tiscali.it>,to=<inf o@mail.watchsystem.it>: 513 Relaying denied.
May 31 11:41:43 www courieresmtpd: error,relay=::ffff:195.130.225.11,msg="502 ESMTP command error",cmd: DATA
May 31 11:43:07 www courierd: Waiting. shutdown time=Tue May 31 11:48:07 2005, wakeup time=Tue May 31 11:48:07 2005, queuedelivering=0, inprogress=0

Gde rit'?
Google ob etom practi4eski ni4ego ne znaet.
Zaranee blagodaren.
Tolik.

virgin13
()

MASQUERADE & OUTLOOK

Privet vsem.
Postavil server s masqueradingom dlia klientov windows:
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE.
No kogda pitaius' otoslat' s klienta mail 4erez outlook - pis'mo ne uhodit.
Ne podskagite, kak mogno re6it' etu problemku?
Zaranee blagodaren.

virgin13
()

Mplayer for windows

Privet vsem.
Rebiata, viru4ajte. Nugno prikrutit' mplayer pod windows XP dlia prosmotra ASF-STREAMINGa. Esli mono s mel'4aj6imi podrobnostiami.
S uvageniem,
Anatoliy.

virgin13
()

RS485 set TX mode

Privet vsem. Rebiata, voprosik: nugno zaprogrammirovat' RS485 na pereda4u (TX). V manuale po materi napisano, 4to dlia togo 4tobi eto sdelat' nugno ustanovit' bit RTS (1-ij bit, t.e. 2 s nulia) v nol'. Ne podskagite li mne kak eto sdelat' bez li6nih zamoro4ek? Zaranee blagodaren.

virgin13
()

RS485 set TX mode

Privet vsem. Rebiata, voprosik: nugno zaprogrammirovat' RS485 na pereda4u (TX). V manuale po materi napisano, 4to dlia togo 4tobi eto sdelat' nugno ustanovit' bit RTS (1-ij bit, t.e. 2 s nulia) v nol'. Ne podskagite li mne kak eto sdelat' bez li6nih zamoro4ek? Zaranee blagodaren. Virgin

virgin13
()

TCP Socket i buffer

Privet vsem.

Problema v sleduus4em. Otkrivaiu TCP stream socket. Posilaiu paket s pomos4iu send(). Ne zavisimo ot togo, podkliu4en li 6nur seti mne vozvras4aet koli4estvo poslannih bait. Esli eto buffer, to kak mne ego otkliu4it' i real'no uznat', otoslal ia paket ili net? Zaranee blagodaren.

virgin13
()

SSH FORWARDING PORT

Privet vsem.
Rebiata, pomogite, sovsem zaputalsia.
Delaiu forward portov: ssh -R real_ip 8909:127.0.0.1:80 na real'nij IP kompa SERVER.
No dostu4at'sia mogu tol'ko s SERVER na 127.0.0.1:8909.
Esli probuiu s SERVER na real_ip:8909, to, pohoge, paketi uhodiat, no ne vozvras4iaiutsia.
Rules iptables:
iptables -A PREROUTING -p tcp --dport 8909 -d real_ip -j DNAT --to 127.0.0.1:8909;
iptables -A FORWARD =p tcp -d 127.0.0.1 --dport 8909 -m state --state NEW,EXTABLISHED,RELATED -j ACCEPT.
No ne pomogaet.
Kak mne sdelat' forwarding porta 8909 s 127.0.0.1 na real_ip odnogo i togo ge kompa SERVER?
Zaranee blagodaren.
Tolik.

virgin13
()

VPN poptop server. HELP!!!

Privet vsem. Takaia vot problema: pptp server, pptp client. Iz vnutrennej seti rabotaet zame4atel'no, snarugi (internet) - net. Klient posilaet LCP zaprosi, server ne otve4aet. Otkril port TCP/1723, i protokol GRE na vne6nij IP. pptp server logit v log: modem hungup. V 4em moget bit' problema? Zaranee blagodaren. Tolik.

virgin13
()

C + user root.HELP!!!

Privet vsem. Probuiu pisat' na C programku client+server. Protokol o4en' prost. Est' struct s neskol'kimi poliami. Da eto i ne o4en' vagno. Pri zapuske vru4nuiu iz-pod root vse rabotaet kak 4asiki. Kak tol'ko propisivaiu programki v rc.local dlia avtozagruzki 4erez nekotoroe vremia client na4inaet posilat' kuski pamiati v promegutkah vmesto zna4enij komand, t.e. obrivki fraz drugih zapuskaemih programm i t.d. Proboval kompilit' s raznimi headerami i gcc, bezrezul'tatno. Ne mog li kto-nibud' obiasnit' v 4em problema i posovetovat' bolee-menee nadegnij gcc dlia kompilacii. Zaranee blagodaren. Virgin.

virgin13
()

BTTV with kernel 2.6 neugeli nikto ne znaet?

Privet vsem. Est' malen'kaia problemka. 2 karti bttv 878.Kernel raspoznaet 4ipset no ne sozdaet video0,video1. V modprobe.conf zadaiu opzii: alias char-major-81 videodev alias char-majior-81* bttv options bttv card=0 pll=0 Posle 4ego perezagrugaiu modul'. Video0 poiavliaetsia i rabotaet prekrasno. No 2 karta opiat' saditsia so svoim 4ipom i ne sozdaet video1. Vopros: kak mne na 2 kartu zadat' opziu card=0? Zaranee vsem spasibo.

virgin13
()

COM/LPT with C

Privet vsem. Vopros sleduius4ij. Kak mne sviazat' com/lpt s vne6nim mirom s pomos4iu C.

virgin13
()

RSS подписка на новые темы