🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.newbie
Article #138925

Re: Przydział programów do jednego z dwóch połączeń sieciowych

#138925
From: Hasan
Date: Tue, 29 Mar 2011 15:15
50 lines
3007 bytes
Dnia 29.03.2011 Dominik & Co <dominik.alaszewskinagmailu@com.invalid> napisał/a:
> W dniu 29-03-2011 14:11, Hasan rzecze:
>
>> Jednak i tak nie działa, bo np. jak wejdę na http://myip.dk to pokazuje mi się
>> adres aktualnie domyślnej bramy.
>
> A co pokazuje ifconfig?
>

Mam coś takiego
ifconfig

ppp0      Link encap:Point-to-Point Protocol
          inet addr:77.113.50.185  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:158 (158.0 B)  TX bytes:209 (209.0 B)

wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:xxx.xx.xx.199  Bcast:xxx.xx.xx.207  Mask:xxx.xxx.xxx.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:205180 errors:0 dropped:16 overruns:0 frame:0
          TX packets:148481 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:131042720 (124.9 MiB)  TX bytes:16061659 (15.3 MiB)


route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
xxx.xx.xx.192   0.0.0.0         255.255.255.240 U     0      0        0 wlan0
0.0.0.0         xxx.xx.xx.193   0.0.0.0         UG    0      0        0 wlan0


cat /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4


no i teraz wywołuję cos takiego

BIND_ADDR="77.113.50.185" LD_PRELOAD=/usr/lib/bind.so links2 http://myip.dk


po pewnym czasie wyskakuje "host not found"
Technical Details
Message-ID: <4d91f7a3$0$2441$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!news2.glorb.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <63cf31c9-3026-4fa1-bf30-1f07b3a0c22a@x3g2000yqj.googlegroups.com> <impegv$3v0$1@news.onet.pl> <4d908cc7$0$2445$65785112@news.neostrada.pl> <imrvma$s4q$1@news.onet.pl> <4d91cc80$0$2492$65785112@news.neostrada.pl> <imsk39$sr1$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!news2.glorb.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Newsgroups: alt.pl.comp.os.linux.newbie
From: Hasan <Tomek@hasan.bez.homelinux.spamu.org>
Subject: Re: Przydział programów do jednego z
 dwóch połączeń sieciowych
References: <63cf31c9-3026-4fa1-bf30-1f07b3a0c22a@x3g2000yqj.googlegroups.com> <impegv$3v0$1@news.onet.pl> <4d908cc7$0$2445$65785112@news.neostrada.pl> <imrvma$s4q$1@news.onet.pl> <4d91cc80$0$2492$65785112@news.neostrada.pl> <imsk39$sr1$1@news.onet.pl>
Reply-To: hasanek.bez@wp.spamu.pl
User-Agent: slrn/pre1.0.0-18 (Linux)
Mime-Version: 1.0
Date: 29 Mar 2011 15:15:47 GMT
Lines: 54
Message-ID: <4d91f7a3$0$2441$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 217.96.66.199
X-Trace: 1301411747 unt-rea-b-01.news.neostrada.pl 2441 217.96.66.199:50973
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit