[j-nsp] IP Rate Limit

2016-04-25 Thread Cahit Eyigünlü
Hello friends ;


Is there any body know a way to apply rate limit for /32  ip on source for 
bandwith and pps ? We have /20 subnets and we do not want to let an ip send 50K 
+ pps if there is no exception but how should i write a generlized rule ?
[SPDNet Telekomünikasyon  A.S. Logo]<http://https://www.spd.net.tr/>

Cahit Eyigünlü
SPDNet Telekomünikasyon A.S.
+908508409773
75. Yl Mahallesi 5301 Sk No:24/A - MANSA 45100
[WebsiteGB]<http://https://www.spd.net.tr/>   [email] 
<mailto:cahit.eyigu...@spd.net.tr> [:inkedIn button] 
<http://https://www.linkedin.com/company/spdnet>[Twitter button] 
<https://twitter.com/NetSpd>[Facebook button] 
<https://www.facebook.com/SpdNetTR>


Bu e-posta kişiye özel olup, gizli bilgiler içeriyor olabilir. Eğer bu e-posta 
size yanlışlıkla ulaşmışsa, içeriğini hiç bir şekilde kullanmayınız ve ekli 
dosyaları açmayınız. Bu e-posta virüslere karşı anti-virüs sistemleri 
tarafından taranmıştır. Ancak SPDNET, bu e-postanın - virüs koruma sistemleri 
ile kontrol ediliyor olsa bile - virüs içermediğini garanti etmez ve meydana 
gelebilecek zararlardan doğacak hiçbir sorumluluğu kabul etmez.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

[j-nsp] Mx Policy routing problem

2015-11-23 Thread Cahit Eyigünlü
   38  01 bd69 192.168.2.102  185.9.159.86



how can i over come this issue ??



[SPDNet Telekomünikasyon  A.S. Logo]<http://https://www.spd.net.tr/>

Cahit Eyigünlü
SPDNet Telekomünikasyon A.S.
+908508409773
75. Yl Mahallesi 5301 Sk No:24/A - MANSA 45100
[WebsiteGB]<http://https://www.spd.net.tr/>   [email] 
<mailto:cahit.eyigu...@spd.net.tr> [:inkedIn button] 
<http://https://www.linkedin.com/company/spdnet>[Twitter button] 
<https://twitter.com/NetSpd>[Facebook button] 
<https://www.facebook.com/SpdNetTR>


Bu e-posta kişiye özel olup, gizli bilgiler içeriyor olabilir. Eğer bu e-posta 
size yanlışlıkla ulaşmışsa, içeriğini hiç bir şekilde kullanmayınız ve ekli 
dosyaları açmayınız. Bu e-posta virüslere karşı anti-virüs sistemleri 
tarafından taranmıştır. Ancak SPDNET, bu e-postanın - virüs koruma sistemleri 
ile kontrol ediliyor olsa bile - virüs içermediğini garanti etmez ve meydana 
gelebilecek zararlardan doğacak hiçbir sorumluluğu kabul etmez.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] Policy Based Routing

2015-11-23 Thread Cahit Eyigünlü
 from 10.32.35.14: Destination Net Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 5400 a9d1   0   38  01 bd69 192.168.2.102  185.9.159.86



how can i over come this issue ?


[SPDNet Telekomünikasyon  A.S. Logo]<http://https://www.spd.net.tr/>

Cahit Eyigünlü
SPDNet Telekomünikasyon A.S.
+908508409773
75. Yl Mahallesi 5301 Sk No:24/A - MANSA 45100
[WebsiteGB]<http://https://www.spd.net.tr/>   [email] 
<mailto:cahit.eyigu...@spd.net.tr> [:inkedIn button] 
<http://https://www.linkedin.com/company/spdnet>[Twitter button] 
<https://twitter.com/NetSpd>[Facebook button] 
<https://www.facebook.com/SpdNetTR>


Bu e-posta kişiye özel olup, gizli bilgiler içeriyor olabilir. Eğer bu e-posta 
size yanlışlıkla ulaşmışsa, içeriğini hiç bir şekilde kullanmayınız ve ekli 
dosyaları açmayınız. Bu e-posta virüslere karşı anti-virüs sistemleri 
tarafından taranmıştır. Ancak SPDNET, bu e-postanın - virüs koruma sistemleri 
ile kontrol ediliyor olsa bile - virüs içermediğini garanti etmez ve meydana 
gelebilecek zararlardan doğacak hiçbir sorumluluğu kabul etmez.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

[j-nsp] Auto Null System

2015-09-09 Thread Cahit Eyigünlü
Hellof friends  ;


 We are using EX 4500 As L3 BGP device. And we need a script to send 
black hole an ip address if it exceeds 2Gbps download limit per second. Is 
there any possibility to do it automagically ?


Thanks


[SPDNet Telekomünikasyon  A.S. Logo]<http://https://www.spd.net.tr/>

Cahit Eyigünlü
SPDNet Telekomünikasyon A.S.
+908508409773
75. Yl Mahallesi 5301 Sk No:24/A - MANSA 45100
[WebsiteGB]<http://https://www.spd.net.tr/>   [email] 
<mailto:cahit.eyigu...@spd.net.tr> [:inkedIn button] 
<http://https://www.linkedin.com/company/spdnet>[Twitter button] 
<https://twitter.com/NetSpd>[Facebook button] 
<https://www.facebook.com/SpdNetTR>


Bu e-posta kişiye özel olup, gizli bilgiler içeriyor olabilir. Eğer bu e-posta 
size yanlışlıkla ulaşmışsa, içeriğini hiç bir şekilde kullanmayınız ve ekli 
dosyaları açmayınız. Bu e-posta virüslere karşı anti-virüs sistemleri 
tarafından taranmıştır. Ancak SPDNET, bu e-postanın - virüs koruma sistemleri 
ile kontrol ediliyor olsa bile - virüs içermediğini garanti etmez ve meydana 
gelebilecek zararlardan doğacak hiçbir sorumluluğu kabul etmez.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] Juniper SRX3600 have a bug i think

2015-05-15 Thread Cahit Eyigünlü
-016077 AAEA6880 SRX3k SPC PIC 0 BUILTIN 
BUILTIN SPU Flow FPC 12 REV 13 750-016077 AADC9166 SRX3k SPC PIC 0 BUILTIN 
BUILTIN SPU Flow Fan Tray 0 REV 06 750-021599 AAAM4505 SRX 3600 Fan Tray GOT: 
=== spc7, swanhill7, Ingress, QOS, per queue counters: GOT: Q# P PktCnt ByteCnt 
ErrPktCnt DropCnt Buf RateKbps GOT: -- - --- --- --- 
--- ---  Before : GOT: 0 0 689433376 3198313481 0 173262666 0 0 
After : GOT: 0 0 716151200 1322793729 0 187301004 0 0 GOT: === spc11, 
swanhill11, Ingress, QOS, per queue counters: GOT: Q# P PktCnt ByteCnt 
ErrPktCnt DropCnt Buf RateKbps GOT: -- - --- --- --- 
--- ---  Before : GOT: 0 0 250772733 1150162904 0 1086140 0 0 
After : GOT: 0 0 260742314 2506553813 0 1086140 0 0 GOT: === spc12, swanhill12, 
Ingress, QOS, per queue counters: GOT: Q# P PktCnt ByteCnt ErrPktCnt DropCnt 
Buf RateKbps GOT: -- - --- --- --- --- --- 
 Before : GOT: 0 0 237042682 3273566470 0 4507285 0 0 After : GOT: 0 0 
241128473 3830250900 0 4507285 0 0





SRX start dropping packets after 500k pps of the udp attack.

We can not use threshold limit because it drops the real connections too while 
under attack.

we cannot use session limit because the attack does not create session

we tryed to block packet size with firewall filter but it does not change the 
result srx losts the connection



[SPDNet Telekomünikasyon  A.S. Logo]http://https://www.spd.net.tr/

Cahit Eyigünlü
SPDNet Telekomünikasyon A.S.
+908508409773
75. Yl Mahallesi 5301 Sk No:24/A - MANSA 45100
[WebsiteGB]http://https://www.spd.net.tr/   [email] 
mailto:cahit.eyigu...@spd.net.tr [:inkedIn button] 
http://https://www.linkedin.com/company/spdnet[Twitter button] 
https://twitter.com/NetSpd[Facebook button] 
https://www.facebook.com/SpdNetTR


Bu e-posta kişiye özel olup, gizli bilgiler içeriyor olabilir. Eğer bu e-posta 
size yanlışlıkla ulaşmışsa, içeriğini hiç bir şekilde kullanmayınız ve ekli 
dosyaları açmayınız. Bu e-posta virüslere karşı anti-virüs sistemleri 
tarafından taranmıştır. Ancak SPDNET, bu e-postanın - virüs koruma sistemleri 
ile kontrol ediliyor olsa bile - virüs içermediğini garanti etmez ve meydana 
gelebilecek zararlardan doğacak hiçbir sorumluluğu kabul etmez.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] SRX3600 Problem

2015-04-21 Thread Cahit Eyigünlü
We are getting a spoofed ip syn attack. When attack starts and over 100K pps 
our SRX3600 was losting the connection. And we check the status of the device 
over the Serial connection. But we could not determine why it has been dropped 
the connection



Should somebody help us to over come this issue ?



r...@srx3600.spd.net.tr show security flow cp-session summary
Valid sessions: 141
Pending sessions: 621628
Invalidated sessions: 517864
Sessions in other states: 1
Total sessions: 1139634
Maximum sessions: 2359296


r...@srx3600.spd.net.tr show security monitoring fpc 12
FPC 12
  PIC 0
CPU utilization  :   44 %
Memory utilization   :   67 %
Current flow session : 147286
Current flow session IPv4: 147286
Current flow session IPv6:0
Max flow session : 524288
Current CP session   : 1074031
Current CP session   IPv4: 1074031
Current CP session   IPv6:0
Max CP session   : 2359296
Total Session Creation Per Second (for last 96 seconds on average):   13
IPv4  Session Creation Per Second (for last 96 seconds on average):   13
IPv6  Session Creation Per Second (for last 96 seconds on average):0



r...@srx3600.spd.net.tr show chassis routing-engine
Routing Engine status:
  Slot 0:
Current state  Master
Election priority  Master (default)
DRAM  1023 MB
Memory utilization  44 percent
CPU utilization:
  User   0 percent
  Background 0 percent
  Kernel 5 percent
  Interrupt  0 percent
  Idle  95 percent
Model  RE-PPC-1200-A
Start time 2015-04-15 02:06:10 UTC
Uptime 4 days, 15 hours, 16 minutes, 29 seconds
Last reboot reason Router rebooted after a normal shutdown.
Load averages: 1 minute   5 minute  15 minute
   0.14   0.07   0.11

r...@srx3600.spd.net.tr show security monitoring performance spu
fpc  12 pic  0
Last 60 seconds:
 0:  39   1:  45   2:  44   3:  40   4:  44   5:  40
 6:  38   7:  46   8:  45   9:  39  10:  44  11:  39
12:  38  13:  45  14:  38  15:  45  16:  44  17:  39
18:  44  19:  39  20:  44  21:  40  22:  44  23:  39
24:  38  25:  45  26:  44  27:  40  28:  44  29:  40
30:  45  31:  40  32:  45  33:  41  34:  45  35:  39
36:  45  37:  39  38:  45  39:  39  40:  44  41:  39
42:  44  43:  39  44:  44  45:  39  46:  46  47:  39
48:  45  49:  39  50:  44  51:  39  52:  45  53:  39
54:  44  55:  39  56:  44  57:  39  58:  44  59:  39

r...@srx3600.spd.net.tr show security monitoring performance session
fpc  12 pic  0
Last 60 seconds:
 0:  127861   1:  146887   2:  130877   3:  147286   4:  134179   5:  145303
 6:  133196   7:  144339   8:  132233   9:  143981  10:  130861  11:  143042
12:  131280  13:  142719  14:  130623  15:  142493  16:  132094  17:  143124
18:  132726  19:  143938  20:  133022  21:  143349  22:  133100  23:  143469
24:  134321  25:  143694  26:  137340  27:  145672  28:  141399  29:  145458
30:  145697  31:  146920  32:  144260  33:  145259  34:  141360  35:  142157
36:  137389  37:  140399  38:  136483  39:  139640  40:  136597  41:  139363
42:  139707  43:  143110  44:  140994  45:  143038  46:  139781  47:  141751
48:  136746  49:  139456  50:  137395  51:  139898  52:  137503  53:  140300
54:  136762  55:  139315  56:  136245  57:  138951  58:  136685  59:  139288

r...@srx3600.spd.net.tr show chassis hardware
Hardware inventory:
Item Version  Part number  Serial number Description
Chassis  SRX 3600
Midplane REV 07   710-020310     SRX 3600 Midplane
PEM 0rev 08   740-027644    AC Power Supply
PEM 1rev 08   740-027644    AC Power Supply
CB 0 REV 14   750-021914     SRX3k RE-12-10
  Routing Engine  BUILTIN  BUILTIN   Routing Engine
  CPP BUILTIN  BUILTIN   Central PFE Processor
  Mezz   REV 08   710-021035     SRX HD Mezzanine 
Card
FPC 0REV 16   750-021882     SRX3k SFB 12GE
  PIC 0   BUILTIN  BUILTIN   8x 1GE-TX 4x 1GE-SFP
FPC 1REV 20   750-020321     SRX3k 2x10GE XFP
  PIC 0   BUILTIN  BUILTIN   2x 10GE-XFP
Xcvr 0NON-JNPR  XFP-10G-SR
Xcvr 1NON-JNPR  XFP-10G-SR
FPC 4REV 14   750-020321     SRX3k 2x10GE XFP
  PIC 0   BUILTIN  BUILTIN   2x 10GE-XFP
Xcvr 0NON-JNPR  XFP-10G-SR
Xcvr 1

Re: [CentOS] Kernel Or Hardwar e

2010-04-28 Thread cahit Eyigünlü
we have detect that is is a memory issue and changed ram .
Thanks in advance


2010/4/28 JohnS jse...@gmail.com


 On Wed, 2010-04-28 at 11:32 +0200, Peter Kjellstrom wrote:
  On Tuesday 27 April 2010, cahit Eyigünlü wrote:
   I saw memtest support only 4gb ram but i have 8gb ;
 
  Huh? I've run memtest86 on 72G machines it uses slow PAE but gets the job
  done.
 
  ...
   this is the error :
  
   BUG: unable to handle kernel paging request at ffe5
   IP: [802a97ce] fput+0x0/0x12
   PGD 203067 PUD 204067 PMD 0
   Oops: 0002 [#1] SMP
   last sysfs file:
 /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map
   CPU 1
   Modules linked in: ipt_REDIRECT xt_owner xt_conntrack iptable_mangle
  ...
   Pid: 4243, comm: tar Not tainted 2.6.30 #1 ESPRIMO P5925
 
  2.6.30 is not quite a CentOS kernel (OT warning..) what are you running
  exactly?
 ---
 A wild guess maybe Ubuntu or Debian.

 John

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reroute all ADSL traffic via another server on the internet?

2010-04-28 Thread cahit Eyigünlü
Open vpn is a nice solution in my opinion

2010/4/28 Rudi Ahlers rudiahl...@gmail.com

 On Wed, Apr 28, 2010 at 3:26 PM, Simon Billis si...@houxou.com wrote:
  Rudi Ahlers sent a missive on 2010-04-28:
 
  Hi all,
 
  Does anyone know, if it's possible to reroute all (i.e. HTTP / FTP /
  DNS / SMTP / POP3 / IMAP / etc) from an ADSL connected machine via
  another server, which is currently hosted with IS and has full
  internet access?
 
 
  i.e. Can I setup another machine, on a different public IP than the
  dynamic ADSL IP as default gw? OR do I need todo something on that
  machine to work as a router for such a setup?
 
  Both servers in this case is CentOS linux, but I'm sure that won't
  make a big difference?
 
 
  In principal yes you can do this type of thing. You'll have to enable
  ipforwarding on the gateway machine as a minimum.
 
  Can you provide more information about your networking setup - ip
 addresses
  and subnet masks, with an ascii drawing as well would help if you think
 it
  relevant :-), then we can provide detailed answers :-)
 
  Thanks
 
  Simon.
 
 
 
 
  ___


 Hi Simon,

 Thanx for the help :)


 The ADSL connected server currently runs on 196.210.176.x, and the
 internet connected server runs on 196.34.136.109

 So, there's not on the same subnets, by a mile. In fact, the 2 servers
 are seperated by about 30Km's, but I can get into both via the
 interner.

 Would ipforwarding still work, since I want to reroute all packets on
 eth0 of 196.34.136.109 in, and back out?

 --
 Kind Regards
 Rudi Ahlers
 SoftDux

 Website: http://www.SoftDux.com
 Technical Blog: http://Blog.SoftDux.com
 Office: 087 805 9573
 Cell: 082 554 7532
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Kernel Or Hardwar e

2010-04-27 Thread cahit Eyigünlü
i have seen many times the given error, there was no log about error.
Beside this my machine never uses swap i realize that when i have last 500
Mb ram it get this error and after using 5Gb of 8 Gb it decreasing like
plane crash :)

I've found this form and it is the same with my error :
http://www.webhostingtalk.com/showthread.php?t=913156

There could be a hardware problem i am not sure ,  i see this error at least
one time in a day. Do you have an advice ?
unluckeyly i have found only one people who has the same error with me :)
and his machine is also same with mine :D
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel Or Hardwar e

2010-04-27 Thread cahit Eyigünlü
: 0029 RBX: 8801dd472b20 RCX: a702
RDX: 880028064000 RSI: 0046 RDI: ffb5
RBP: 88022b07cce0 R08: 880074921e68 R09: 88022d16ec80
R10: 880074921cd8 R11: 0104 R12: ffb5
R13: 880074921e68 R14: 880074921e00 R15: 88022b07cd08
FS: 7fb6605ee710() GS:880028064000() knlGS:
CS: 0010 DS:  ES:  CR0: 8005003b
CR2: ffe5 CR3: 748d1000 CR4: 06e0
DR0:  DR1:  DR2: 
DR3:  DR6: 0ff0 DR7: 0400
Process tar (pid: 5372, threadinfo 88007492, task 880225d00e40)
Stack:
80331706 8801dc88e428 8801dc88e428 
8001 0004 880074921e68 8801dd472a80
802b0ce0 8801edc5c5c0  880074921e68
Call Trace:
[80331706] ? ima_path_check+0x188/0x1b3
[802b0ce0] ? may_open+0xbf/0x261
[802b3308] ? do_filp_open+0x48c/0x88c
[802ba958] ? alloc_fd+0x69/0x10c
[802a6da0] ? do_sys_open+0x4b/0xc8
[8020b96b] ? system_call_fastpath+0x16/0x1b
Code: 48 89 d8 5b 5d 41 5c 41 5d 41 5e c3 48 8b 05 d2 1a 52 00 41 ba 01 00
00 00 48 85 c0 49 0f 48 c2 89 05 b7 07 3b 00 e9 49 55 f9 ff f0 48 ff 4f 30
0f 94 c0 84 c0 74 05 e9 14 fc ff ff c3 55 48 89
---

2010/4/27 Simon Billis si...@houxou.com

 Hi,

 cahit Eyigünlü sent a missive on 2010-04-27:

  i have seen many times the given error, there was no log about error.

 You really need to put the error here if you want people to help you.
 You're not making it easy for us to assist you.


  Beside this my machine never uses swap i realize that when i have last
  500 Mb ram it get this error and after using 5Gb of 8 Gb it decreasing
  like plane crash :)
 
  I've found this form and it is the same with my error :
  http://www.webhostingtalk.com/showthread.php?t=913156

 If I was you I would follow the advice given here - first split the
 decompression and the tar operation. The you'll know where it is failing. I
 would also check the memory as this post suggested.


  There could be a hardware problem i am not sure ,  i see this error at
  least one time in a day. Do you have an advice ?

 Yes, provide more information about _your_ problem in your posts, do not
 send html emails, do not top post, follow the advice given in the post you
 referred to.


  unluckeyly i have found only one people who has the same error with me
  :) and his machine is also same with mine :D
 

 Simon.




 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables

2010-04-24 Thread cahit Eyigünlü
I have installed shorewall at late last night and i forget it today i've
restart my server now i am not able to connect it :D is there any way to
connect shorewall ?

24 Nisan 2010 01:44 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı:

 Wow i see it is very cool,
 and now i am starting to use it also :)
 +1 from me too :)
 thanks to every body for all help

 2010/4/24 Ron Loftin relof...@twcny.rr.com


 On Fri, 2010-04-23 at 18:16 -0400, Alan McKay wrote:
  Have a look at shorewall (google it) for the best thing I've ever seen
  for managing a Linux firewall

 I agree about Shorewall.  I've been using it for several years, and it
 does take a lot of the pain out of managing iptables.

 That being said, I will add my voice to the others on this list that
 point out that the OP's mods to /etc/sysconfig/iptables are very
 dangerous, and indicate a lack of understanding of how iptables and
 network security actually operate.  Some study of basic principles and
 best practices is essential to managing a firewall configuration,
 regardless of the tool that is used.

 My $0.02 (US) worth for today.

 
  2010/4/23 cahit Eyigünlü cahit.eyigu...@gmail.com:
   how could i add / remove iptable rules on cet os 5.4 final for tcp /
 udp
   base on ports
  

 --
 Ron Loftin  relof...@twcny.rr.com

 God, root, what is difference ?   Piter from UserFriendly

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables

2010-04-24 Thread cahit Eyigünlü
Problem is different problem grub load error 2 unfortunatelly

2010/4/24 Simon Billis si...@houxou.com

 cahit Eyigünlü sent a missive on 2010-04-24:

  I have installed shorewall at late last night and i forget it today
  i've restart my server now i am not able to connect it :D is there any
  way to connect shorewall ?

 If you have locked yourself out then you'll need to have physical access to
 the machine and log in using the console.

 You may also be interested in a linux based firewall such  as IPCOP.
 http://www.ipcop.org or http://sourceforge.net/apps/trac/ipcop/wiki, but
 this will turn the machine into a dedicated firewall.







 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] URGENT

2010-04-24 Thread cahit Eyigünlü
I had a geub loader error  2 on starting centos
and i am able to connect rescue system

this is the result how could i get system work

r...@rescuecd64 ~ # grub
Probing devices to guess BIOS drives. This may take a long time.
Unknown partition table signature


GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

   [ Minimal BASH-like line editing is supported.   For
 the   first   word,  TAB  lists  possible  command
 completions.  Anywhere else TAB lists the possible
 completions of a device/filename. ]
grub  find /boot/grub/stage1
 find /boot/grub/stage1

Error 15: File not found
grub
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] URGENT

2010-04-24 Thread cahit Eyigünlü
It had solved , the error encounters from thousands of a bad sectors :( i do
not know how it happened but recovery system has repaired after then
mount /dev/sda /mnt ext3
 grub-install /dev/sda

has worked thanks

2010/4/24 Wahyu Darmawan wahyu.darma...@gmail.com

 Hi,
 Have you try this :
 r...@rescuecd64 ~ #  grub-install /dev/sda (or some device that
 installed CentOS)



 2010/4/24 cahit Eyigünlü cahit.eyigu...@gmail.com:
  I had a geub loader error  2 on starting centos
  and i am able to connect rescue system
  this is the result how could i get system work
  r...@rescuecd64 ~ # grub
  Probing devices to guess BIOS drives. This may take a long time.
  Unknown partition table signature
 
  GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
 [ Minimal BASH-like line editing is supported.   For
   the   first   word,  TAB  lists  possible  command
   completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
  grub  find /boot/grub/stage1
   find /boot/grub/stage1
  Error 15: File not found
  grub
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] iptables

2010-04-23 Thread cahit Eyigünlü
how could i add / remove iptable rules on cet os 5.4 final for tcp / udp
base on ports
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Fwd: Re: iptables]

2010-04-23 Thread cahit Eyigünlü
Thanks also i found this editinig  the  : edit /etc/sysconfig/iptables  is a
good way for solution
problem solved thanks for everybody's attention

2010/4/23 Niki Kovacs cont...@kikinovak.net


 cahit Eyigünlü a écrit :

 how could i add / remove iptable rules on cet os 5.4 final for tcp / udp
 base on ports

  If you don't want to mess with iptables, take a look at the firewall
 configuration tool system-config-securitylevel-tui. I think there's a
 graphical app also, but I've never used it. If you only need to open/close
 ports on a tcp/udp basis, this tool will do the job.

 Right now looking for an example. In my own documentation, I have some
 screenshots of the tool. Here, for example (second screenshot), opening port
 67 for UDP requests :

 http://www.microlinux.fr/doc_en_stock/dhcp.html

 Or here (first screenshot), opening port 53 for both TCP and UDP requests :

 http://www.microlinux.fr/doc_en_stock/dns.html

 If you want more complicated stuff, you'll have to dive into iptables,
 though.

 Cheers,

 Niki


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Fwd: Re: iptables]

2010-04-23 Thread cahit Eyigünlü
how or why i have redesigned it to this and it seems like worked  :



[r...@lin ~]# vi /etc/sysconfig/iptables
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -i eth0 -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j
ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j
ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j
ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j
ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j
ACCEPT
/etc/sysconfig/iptables 40L, 1617C

2010/4/23 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :
  Thanks also i found this editinig  the  : edit
  /etc/sysconfig/iptables  is a good way for solution
  problem solved thanks for everybody's attention

 Your attention has to come back. Editing /etc/sysconfig/iptables is
 *not* the solution.

 Just! Read!
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables

2010-04-23 Thread cahit Eyigünlü
Wow i see it is very cool,
and now i am starting to use it also :)
+1 from me too :)
thanks to every body for all help

2010/4/24 Ron Loftin relof...@twcny.rr.com


 On Fri, 2010-04-23 at 18:16 -0400, Alan McKay wrote:
  Have a look at shorewall (google it) for the best thing I've ever seen
  for managing a Linux firewall

 I agree about Shorewall.  I've been using it for several years, and it
 does take a lot of the pain out of managing iptables.

 That being said, I will add my voice to the others on this list that
 point out that the OP's mods to /etc/sysconfig/iptables are very
 dangerous, and indicate a lack of understanding of how iptables and
 network security actually operate.  Some study of basic principles and
 best practices is essential to managing a firewall configuration,
 regardless of the tool that is used.

 My $0.02 (US) worth for today.

 
  2010/4/23 cahit Eyigünlü cahit.eyigu...@gmail.com:
   how could i add / remove iptable rules on cet os 5.4 final for tcp /
 udp
   base on ports
  

 --
 Ron Loftin  relof...@twcny.rr.com

 God, root, what is difference ?   Piter from UserFriendly

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Pause time

2010-04-19 Thread cahit Eyigünlü
i want to pause my cent os time and date in a spesific date :D is it
possible ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Pause time

2010-04-19 Thread cahit Eyigünlü
i have a algorthm depending on a circul of a server time in a 10 day period
and i want to execute this command :
 sudo date MMDDhhmm
periodically in every 10 day :D

2010/4/19 Joseph L. Casale jcas...@activenetwerx.com

 i want to pause my cent os time and date in a spesific date :D is it
 possible ?

 Time stands still for no one...

 You can reset it (often if need be), but the clock has more than an
 aesthetic role
 for the user, it can't be paused. I _wonder_ why you need to do this?
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Pause time

2010-04-19 Thread cahit Eyigünlü
:D just for a secret :D if there is a possibility i will be very glad for
this :D

2010/4/19 Joseph L. Casale jcas...@activenetwerx.com

 It needs to be set back 10 days every ten days? I'd say you have a real
 problem with your algorithm.

 I'd love to have to read his logs:)
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Pause time

2010-04-19 Thread cahit Eyigünlü
nope , i just need to start the time from june to july on 2009 :D there is
nothing else ,
just a trick of an brilliant idea in my opinion for my network :D

2010/4/19 m.r...@5-cent.us

  :D just for a secret :D if there is a possibility i will be very glad for
  this :D
 
  2010/4/19 Joseph L. Casale jcas...@activenetwerx.com
 
  It needs to be set back 10 days every ten days? I'd say you have a real
  problem with your algorithm.
 
  I'd love to have to read his logs:)

 Does his algorithm include spam?

  mark or CC for a botnet?

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Pause time

2010-04-19 Thread cahit Eyigünlü
Thank you i will check this out

2010/4/20 Les Mikesell lesmikes...@gmail.com

 On 4/19/2010 3:32 PM, cahit Eyigünlü wrote:
  i have a algorthm depending on a circul of a server time in a 10 day
  period and i want to execute this command :
sudo date MMDDhhmm
  periodically in every 10 day :D

 Make a script file like:
 #!/bin/sh
 date MMDDhhmm
 echo /path/to/script | at now + 10 days


 Chmod +x the script and run it as root at the starting time you want.
 It will run itself again in 10 days.  The now + 10 days  is literal -
 the program will do the math.

 But, some strange things may happen to any cron jobs or other at
 commands that span the time warp.

 --
   Les Mikesell
lesmikes...@gmail.com


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Pause time

2010-04-19 Thread cahit Eyigünlü
one more question my mysql server is on another machine if php executes a
date time now and save it to db or show it on html will it show me the date
of server that i setted :D or is there any possibility to change apache date
:D

2010/4/20 Joseph L. Casale jcas...@activenetwerx.com

 nope , i just need to start the time from june to july on 2009 :D there is
 nothing else ,
 just a trick of an brilliant idea in my opinion for my network :D
 

 Famous words:) heh...

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Swap = 0

2010-04-13 Thread cahit Eyigünlü
My server returning an error sth. like swap =  0 then locking httpd and all
other services
is this normal
this is a virtual machine and i give it 3 gb ram and 4cpu of i7 920
i have 1 gbit connection on this machine
finally i have 4000+ clients at one time :S
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Swap = 0

2010-04-13 Thread cahit Eyigünlü
r...@lin [~]# free

 total   used   free sharedbuffers cached

Mem:   3090588 9088442181744  0  11948 266892

-/+ buffers/cache: 6300042460584

Swap:  2064376  227962041580




2010/4/13 Marcelo M. Garcia marcelo.maia.gar...@googlemail.com

 cahit Eyigünlü wrote:
  My server returning an error sth. like swap =  0 then locking httpd and
  all other services
  is this normal
  this is a virtual machine and i give it 3 gb ram and 4cpu of i7 920
  i have 1 gbit connection on this machine
  finally i have 4000+ clients at one time :S
 
 No. This is not normal.

 Did you create a swap partition when you were installing the system?

 If you do a fdisk /dev/sda, change sda to your disk, you'll see
 something like this:
Device Boot   Start End  Blocks   Id  System
 /dev/sda1   *1  13  104391   83  Linux
 /dev/sda214 535 4192965   82  Linux swap / Solaris
 /dev/sda3536442731262490   83  Linux


 The command free can give you a hint about your swap space:
 newt (Linux)$ free
  total   used   free sharedbuffers cached
 Mem:   20749561926248 148708  0  279001252224
 -/+ buffers/cache: 6461241428832
 Swap:  41929561244192832
 newt (Linux)$

 Regards

 mg.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Swap = 0

2010-04-13 Thread cahit Eyigünlü
Actually that is better i think ;

is there any optimization tool i have added 2 more gb ram but it is still
locking server :S


top - 13:11:13 up 33 min,  2 users,  load average: 29.96, 13.75, 10.97

Tasks: 280 total,  40 running, 236 sleeping,   0 stopped,   4 zombie

Cpu(s): 61.1%us, 34.2%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.3%hi,  4.4%si,
0.0%st

Mem:   3090588k total,  2481096k used,   609492k free,16068k buffers

Swap:  2064376k total,22796k used,  2041580k free,   274104k cached



  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

 4331 root  18   0  169m 131m  764 S  0.0  4.3   0:01.75 /usr/sbin/clamd

 4228 mysql 15   0  356m  53m 3904 S 24.0  1.8   5:42.20
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mys

2010/4/13 Hakan Koseoglu ha...@koseoglu.org

 Cahit,
 2010/4/13 cahit Eyigünlü cahit.eyigu...@gmail.com:
  My server returning an error sth. like swap =  0 then locking httpd and
 all
 Set up a monitoring tool like sar etc. or my favourite, nmon with
 capacity planning. Depending on what those 4k users are doing, you
 might be running out of RAM + swap space until the out-of-memory
 killer kicks in and frees up some space by killing some processes. You
 should be able to see that activity in the message logfile.
 --
 Hakan (m1fcj) - http://www.hititgunesi.org
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] VPN

2010-04-10 Thread cahit Eyigünlü
is there any possibility to do this on cent os

for example company one will be in the block of 10.0.0.0.1-10.0.0.255
and routed to the one of my external ip
company two will be in the block of 11.0.0.0.1-11.0.0.255 and routed
to the one of my external ip

i just need an advice is this better on windows vpn or llinux vpn
server do you advice me any server software like open vpn or sth. else

thank you very much i am glad for all your help i will rent a new
server after complete a working system on virtual machine thanks ..
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VPN

2010-04-10 Thread cahit Eyigünlü
Unfotunately i have to solve this based on software
i need to isolate each company to protect their info from others
i have 3 companies
and last one thing i need to see each company's traffic statics for long
time periods. and i need to be able to limit their traffics
that is all ,
but as i see on open vpn i could not group users.i have a cisco router which
i could see the traffic of my servers external  ip addresses so i decide to
see them from there via giving each company one external ip to connect to
internet .
but i could not decide yet how to do it :)
is there any body have an advice for me ?

2010/4/10 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
  is there any possibility to do this on cent os
 
  for example company one will be in the block of 10.0.0.0.1-10.0.0.255
  and routed to the one of my external ip
  company two will be in the block of 11.0.0.0.1-11.0.0.255 and routed
  to the one of my external ip
 

 I am not sure what you mean by 'routed to one of your external ip
 addresses'.

 so, you are at a third site, and want a tunnel to both companies networks?

 btw, I know those are just example addresses, but 11.x.x.x is not a
 reserved network   instead, that should be 10.1.0.xxx or something.

  i just need an advice is this better on windows vpn or llinux vpn
  server do you advice me any server software like open vpn or sth. else

 assuming its a routing that makes logical sense, it should be easy to
 implement with OpenVPN.  you'd need a firewall running openvpn at each
 of those companies then your end could inititate the connections to each
 of them.  I'm not sure why you'd have to use two internet addresses at
 your end, rather, you'd just have an net like 10.2.0.xxx and the VPN
 tunnels would route between those networks.   I'm assuming company 1 and
 company 2 don't want any direct routing between them, so you'd have to
 make sure you're not providing that route (eg, 10.0.0.xxx should not
 have a route to 10.1.0.xxx or visa versa)


 as far as 'better'?  better is what you or the people who will be
 administrating this is most familar with.   often, easiest is to use VPN
 appliance routers, like watchguards, or netscreens as the firewalls at
 all these sites.





 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VPN

2010-04-10 Thread cahit Eyigünlü
I will check this out thank you so much

2010/4/10 Eero Volotinen eero.voloti...@iki.fi

 2010/4/10 cahit Eyigünlü cahit.eyigu...@gmail.com:
  Unfotunately i have to solve this based on software
  i need to isolate each company to protect their info from others
  i have 3 companies
  and last one thing i need to see each company's traffic statics for long
  time periods. and i need to be able to limit their traffics
  that is all ,
  but as i see on open vpn i could not group users.i have a cisco router
 which
  i could see the traffic of my servers external  ip addresses so i decide
 to
  see them from there via giving each company one external ip to connect to
  internet .
  but i could not decide yet how to do it :)
  is there any body have an advice for me ?
  2010/4/10 John R Pierce pie...@hogranch.com

 Solution is static routing tables and openvpn site-to-site tunnel.

 --
 Eero,
 RHCE
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VPN

2010-04-10 Thread cahit Eyigünlü
i am looking to open vpn remote page now do you know where could i set
client's sites that allow to connect or not ?

10 Nisan 2010 13:36 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı:

 I will check this out thank you so much

 2010/4/10 Eero Volotinen eero.voloti...@iki.fi

 2010/4/10 cahit Eyigünlü cahit.eyigu...@gmail.com:
  Unfotunately i have to solve this based on software
  i need to isolate each company to protect their info from others
  i have 3 companies
  and last one thing i need to see each company's traffic statics for long
  time periods. and i need to be able to limit their traffics
  that is all ,
  but as i see on open vpn i could not group users.i have a cisco router
 which
  i could see the traffic of my servers external  ip addresses so i decide
 to
  see them from there via giving each company one external ip to connect
 to
  internet .
  but i could not decide yet how to do it :)
  is there any body have an advice for me ?
  2010/4/10 John R Pierce pie...@hogranch.com

 Solution is static routing tables and openvpn site-to-site tunnel.

 --
 Eero,
 RHCE
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VPN

2010-04-10 Thread cahit Eyigünlü
yes exactly that is what i need to do murrayei
could you describe a little more

2010/4/10 Ian Murray murra...@yahoo.co.uk


 i am looking to open vpn remote page now do you know where could i set
 client's sites that allow to connect or not ?

 I can't remember if there are other controls, but AFAIK the primary method
 of saying who is allowed is via certificates that you create when setting it
 up.

 It is still unclear to me what you are trying to achieve.

 Is it that you have three sites...

 A - B - C

 where - represents the VPN link? Is it that A needs to talk to B, B to C,
 but you don't want A to talk to C? If that is the case, I think it needs to
 be solved with a combination of VPN's as described and Iptables to stop the
 A to C conversation..



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VPN

2010-04-10 Thread cahit Eyigünlü
i mis understood sorry A B and C are companies not alone computers and they
have client computers

2010/4/10 Ian Murray murra...@yahoo.co.uk



 yes exactly that is what i need to do murrayei
 could you describe a little more

 If 'B' in my previous description is a single machine, need not route and
 the A to C issue goes away.

 My OpenVPN/Iptables skills are not strong enough to describe it in general
 terms and has been previously stated, you are better off going through the
 support channels of OpenVPN, rather than CentOS. If simple firewalling using
 Iptables is a new or a difficult concept, then you might want to get some
 hands-on help, as was also suggested.

 To answer your original question, though, I wouldn't know where to start to
 solve restriction of A to C using Windows, whereas I am pretty sure you
 will have all the tools you need under CentOS/OpenVPN... for free.




 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] pkcs11-helper-devel is needed

2010-04-10 Thread cahit Eyigünlü
how could i install pkcs11 on 64 cent os 5.4 :S it always asking me for
pkcs11-helper but i've already installing


[r...@vpn VpnSetup]# rpmbuild -tb openvpn-2.1.1.tar.gz

hata: Failed build dependencies:

pkcs11-helper-devel is needed by openvpn-2.1.1-1.x86_64

[r...@vpn VpnSetup]# rpm -ivh pkcs11-helper-devel-1.06-2.1.x86_64.rpm

uyarı: pkcs11-helper-devel-1.06-2.1.x86_64.rpm: Header V3 DSA signature:
NOKEY, key ID 849bf240

hata: Failed dependencies:

pkcs11-helper = 1.06 is needed by
pkcs11-helper-devel-1.06-2.1.x86_64

libopenssl-devel is needed by pkcs11-helper-devel-1.06-2.1.x86_64

[r...@vpn VpnSetup]# rpm -ivh pkcs11-helper-1.07-5.3.src.rpm

uyarı: pkcs11-helper-1.07-5.3.src.rpm: Header V3 RSA/SHA256 signature:
NOKEY, key ID 3dbdc284

   1:pkcs11-helper  ###
[100%]

[r...@vpn VpnSetup]# rpm -ivh pkcs11-helper-devel-1.06-2.1.x86_64.rpm

uyarı: pkcs11-helper-devel-1.06-2.1.x86_64.rpm: Header V3 DSA signature:
NOKEY, key ID 849bf240

hata: Failed dependencies:

pkcs11-helper = 1.06 is needed by
pkcs11-helper-devel-1.06-2.1.x86_64

libopenssl-devel is needed by pkcs11-helper-devel-1.06-2.1.x86_64
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pkcs11-helper-devel is needed

2010-04-10 Thread cahit Eyigünlü
still the same :(

[r...@vpn VpnSetup]# rpmbuild -tb openvpn-2.1.1.tar.gz

hata: Failed build dependencies:

pkcs11-helper-devel is needed by openvpn-2.1.1-1.x86_64

[r...@vpn VpnSetup]# dir

=
lzo-devel-2.02-3.el5.kb.i386.rpm pkcs11-helper-1.06.tar.bz2.1

libopenssl-devel-0.9.8k-3.4_3.7.1.x86_64.delta.rpm
lzo-devel-2.02-3.el5.kb.i386.rpm.1   pkcs11-helper-1.06.tgz

libopenssl-devel-0.9.8m-1.2.i586.rpm
lzo-devel-2.02-3.el5.kb.x86_64.rpm.html  pkcs11-helper-1.07-5.3.src.rpm

lzo-1.08-4.2.el5.rf.x86_64.rpm
minilzo-2.03.tar.gz
pkcs11-helper-1.07.tar.bz2

lzo-1.08-4.rf.src.rpm
openssl-1.0.0.tar.gz
pkcs11-helper-devel-1.06-2.1.x86_64.rpm

lzo-devel-1.08-2.el4.i386.rpm   openvpn-2.1.1
rpm-3.0.6-4.i386.rpm

lzo-devel-1.08-4.1.el3.rf.i386.rpm  openvpn-2.1.1.tar.gz

lzo-devel-1.08-4.2.el5.rf.x86_64.rpm
pkcs11-helper-1.06.tar.bz2

i think

2010/4/10 Agile Aspect agile.asp...@gmail.com

 2010/4/10 cahit Eyigünlü cahit.eyigu...@gmail.com:
  how could i install pkcs11 on 64 cent os 5.4 :S it always asking me for
  pkcs11-helper but i've already installing
 
  [r...@vpn VpnSetup]# rpmbuild -tb openvpn-2.1.1.tar.gz
 
  hata: Failed build dependencies:
 
  pkcs11-helper-devel is needed by openvpn-2.1.1-1.x86_64
 
  [r...@vpn VpnSetup]# rpm -ivh pkcs11-helper-devel-1.06-2.1.x86_64.rpm
 
  uyarı: pkcs11-helper-devel-1.06-2.1.x86_64.rpm: Header V3 DSA signature:
  NOKEY, key ID 849bf240
 
  hata: Failed dependencies:
 
  pkcs11-helper = 1.06 is needed by
  pkcs11-helper-devel-1.06-2.1.x86_64
 
  libopenssl-devel is needed by pkcs11-helper-devel-1.06-2.1.x86_64
 
  [r...@vpn VpnSetup]# rpm -ivh pkcs11-helper-1.07-5.3.src.rpm
 
  uyarı: pkcs11-helper-1.07-5.3.src.rpm: Header V3 RSA/SHA256 signature:
  NOKEY, key ID 3dbdc284
 
 1:pkcs11-helper  ###
  [100%]
 
  [r...@vpn VpnSetup]# rpm -ivh pkcs11-helper-devel-1.06-2.1.x86_64.rpm
 
  uyarı: pkcs11-helper-devel-1.06-2.1.x86_64.rpm: Header V3 DSA signature:
  NOKEY, key ID 849bf240
 
  hata: Failed dependencies:
 
  pkcs11-helper = 1.06 is needed by
  pkcs11-helper-devel-1.06-2.1.x86_64
 
  libopenssl-devel is needed by pkcs11-helper-devel-1.06-2.1.x86_64
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 


 And you may need to install openssl-devel.


 --
  Enjoy global warming while it lasts.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VPN

2010-04-10 Thread cahit Eyigünlü
Thank you so much

2010/4/10 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
  yes exactly that is what i need to do murrayei
  could you describe a little more

 you either need to learn wide area networking principles as well as the
 ins and outs of VPN software, so you can solve these problems yourself,
 or hire someone so qualified if you want specific solutions.  over and
 over again, you are asking this list to solve your business problems,
 for which you are presumably being paid.




 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pkcs11-helper-devel is needed

2010-04-10 Thread cahit Eyigünlü
Hello les ;
login as: root

[r...@vpn ~]# yum install openvpn
Loaded plugins: fastestmirror
Determining fastest mirrors
 * addons: ftp.plusline.de
 * base: ftp.plusline.de
 * extras: ftp.plusline.de
 * updates: ftp.plusline.de
addons   |  951 B 00:00
addons/primary   |  203 B 00:00
base | 2.1 kB 00:00
base/primary_db  | 2.0 MB 00:00
extras   | 2.1 kB 00:00
extras/primary_db| 206 kB 00:00
updates  | 1.9 kB 00:00
updates/primary_db   | 760 kB 00:00
Setting up Install Process
No package openvpn available.
Nothing to do
[r...@vpn ~]#


2010/4/10 Les Mikesell lesmikes...@gmail.com

 cahit Eyigünlü wrote:
  still the same :(
 
  [r...@vpn VpnSetup]# rpmbuild -tb openvpn-2.1.1.tar.gz
 
  hata: Failed build dependencies:
 
  pkcs11-helper-devel is needed by openvpn-2.1.1-1.x86_64
 
  [r...@vpn VpnSetup]# dir
 
  =
  lzo-devel-2.02-3.el5.kb.i386.rpm pkcs11-helper-1.06.tar.bz2.1
 
  libopenssl-devel-0.9.8k-3.4_3.7.1.x86_64.delta.rpm
  lzo-devel-2.02-3.el5.kb.i386.rpm.1   pkcs11-helper-1.06.tgz
 
  libopenssl-devel-0.9.8m-1.2.i586.rpm
  lzo-devel-2.02-3.el5.kb.x86_64.rpm.html  pkcs11-helper-1.07-5.3.src.rpm
 
  lzo-1.08-4.2.el5.rf.x86_64.rpm
  minilzo-2.03.tar.gz  pkcs11-helper-1.07.tar.bz2
 
  lzo-1.08-4.rf.src.rpm
  openssl-1.0.0.tar.gz
  pkcs11-helper-devel-1.06-2.1.x86_64.rpm
 
  lzo-devel-1.08-2.el4.i386.rpm
  openvpn-2.1.1rpm-3.0.6-4.i386.rpm
 
  lzo-devel-1.08-4.1.el3.rf.i386.rpm  openvpn-2.1.1.tar.gz
 
  lzo-devel-1.08-4.2.el5.rf.x86_64.rpm
  pkcs11-helper-1.06.tar.bz2
 
  i think

 What are you trying to accomplish here?  It looks like you are mixing a
 horrible
 mess of rpms from different repositories and source tarballs.  If you just
 want
 openvpn, set up yum to use the EPEL repository,
 yum install openvpn
 and you are done.  Generally speaking, you can use yum with one (and only
 one)
 3rd party repository without a lot of trouble and it will take care of all
 dependencies.  If you start mixing things from different 3rd party repos
 you
 will run into many dependency problems but it is still usually easier to
 work
 around them than to build source tarballs and keep them up to date
 yourself.

 --
   Les Mikesell
lesmikes...@gmail.com



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pkcs11-helper-devel is needed

2010-04-10 Thread cahit Eyigünlü
this three line returned error all the others ok :

  yum install lzo
  make
  make install


2010/4/10 Agile Aspect agile.asp...@gmail.com

 2010/4/10 cahit Eyigünlü cahit.eyigu...@gmail.com:
  still the same :(
 

 And why would anything change?

 All you did was show us the same command again which failed the first time.

 Binaries setting in a directory are worthless.

 Since you're clueless, don't use rpmbuild.

 Last try

   yum remove pkcs11\*
   yum install lzo
   yum install openssl-devel
   tar xzf openvpn-2.1.1.tar.gz
   cd openvpn-2.1.1
   ./configure --prefix=/usr
   make
   make install

 --
   Enjoy global warming while it lasts.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-04 Thread cahit Eyigünlü
That worked thanks

2010/4/4 Ryan Wagoner rswago...@gmail.com

 Do an ls -lha public_html  in the user's folder and look what group
 the files are owned by. Then do chown username:group -R public_html.

 Ryan

 2010/4/2 cahit Eyigünlü cahit.eyigu...@gmail.com:
  the main problem that i have copied files directly to public_html folder
 and
  it is returnin 500 internal error now ,
  and i need to allow the web user of this folder to read write content of
  this folder
 
  2010/4/3 Niki Kovacs cont...@kikinovak.net
 
  cahit Eyigünlü a écrit :
   do you mean that for example a folder of root will be owned by 
   chown -R root: /path/*
  
 
  I think it would be wise to read some basic *nix documentation.
  Something like :
 
  * Linux Cookbook (Carla Schroder)
  * Definitive Guide to CentOS
  * Foundations of CentOS
  * Red Hat Enterprise Linux 5 Administration
 
  It's not much use trying to fly a plane by pushing all the buttons and
  see what they do. This advice is meant in a friendly way.
 
  Cheers,
 
  Niki
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] encoding

2010-04-03 Thread cahit Eyigünlü
Thank you for feed back but there is sth. complicated then using ascii
characters

let me try to describe :

i have created a folder with name şiğüı and it is ok.
but i have copied a file that i 've created on another linux machine (that
is not mine)
it seems like � and that cause to not only file name it also encounters
on all hosted site which is copied from other server
but this names seems ok on terminal , it only seems like  on the web
pages and the contents of this files seems like this , but if i rewrite the
page with the same non latin chars , everything is ok.

i have try to change httpd.conf
page encodings , php settings ..

do you have any advice please.
 i want to learn and share my knowladge like you in the future Kai i am
reasearching always ...
thanks for your understanding, reading all your posts on group to learn.
thanks





2010/4/3 Kai Schaetzl mailli...@conactive.com

 google about encoding, MySQL, utf-8.

  so how could i repair this copied fle names end file encodings because it
  has problems also while reading by php  and publishing the same thanks

 That's why it is a bad idea to use anything other than ASCII in filenames
 that are used for web servers or programming.

 New users of CentOS, especially if new to Linux at all, have a habit of
 throwing *every* problem they have on the new system at the list. This is
 ok for a while and if not stretching the CentOS relationship too much. But,
 finally, please understand that this list is not a general purpose solve
 my server problems list. So, please consider next time if your question
 has anything to do with CentOS.

 Kai

 --
 Get your web at Conactive Internet Services: http://www.conactive.com



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] encoding

2010-04-03 Thread cahit Eyigünlü
yes we try all this , beside this as i said if i create the folder on my own
server there is no problem with non latin chars or th files which include
non latin chars. this only encounters if i copy it from another source and
the given solutions not worked unfortunatelly.
for example cpanel's file manager shows fle list and it returns me file list
like this
 �.html
  ���.html (file coming from other server)
şiğü.html (file that i created)

and when i open this files from browser
şiğü.html this file show all content correctly with non latin chars
but the others not

2010/4/4 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :

 
  i have created a folder with name şiğüı and it is ok.

 Ah, yes, one other thing. Folders named 'şiğüı' are *not* ok on a
 website. Don't use special characters in folder or file names on a
 webserver, or you're asking for trouble.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] copy source of ftp

2010-04-02 Thread cahit Eyigünlü
how could i copy all content of a ftp directory from ftp via console to cent
os 5.4
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] copy source of ftp

2010-04-02 Thread cahit Eyigünlü
cent os could not find ncftpget  command i tryed yum install ncftpget  but
not found it also

2010/4/2 Athmane Madjoudj athma...@gmail.com

 try to use ncftp

 Eg:

 ncftpget -R -v -u ftpuser ftp.server ~/localdir /remotedir


 2010/4/2 cahit Eyigünlü cahit.eyigu...@gmail.com:
  how could i copy all content of a ftp directory from ftp via console to
 cent
  os 5.4
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 



 --
 Athmane Madjoudj
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] copy source of ftp

2010-04-02 Thread cahit Eyigünlü
yes it works now thanks

2010/4/2 Barry Brimer li...@brimer.org

  how could i copy all content of a ftp directory from ftp via console to
 cent
  os 5.4

 lftp (which is a part of CentOS) can do this with the mirror option and
 -R.  man lftp for more info.

 Barry
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] copy source of ftp

2010-04-02 Thread cahit Eyigünlü
but on other server content is under httpdocs folder so i said
/local/mine/folder /httpdocs
then it create a httpdocs under /folder :) so how could i now cut all
content and paste to up folder i mean from /folder/httpdocs to /folder :)

02 Nisan 2010 21:15 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı:

 yes it works now thanks

 2010/4/2 Barry Brimer li...@brimer.org

  how could i copy all content of a ftp directory from ftp via console to
 cent
  os 5.4

 lftp (which is a part of CentOS) can do this with the mirror option and
 -R.  man lftp for more info.

 Barry
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] copy source of ftp

2010-04-02 Thread cahit Eyigünlü
i am not using gui :)

2010/4/2 JohnS jse...@gmail.com


 On Fri, 2010-04-02 at 21:20 +0300, cahit Eyigünlü wrote:
  but on other server content is under httpdocs folder so i said
  /local/mine/folder /httpdocs
  then it create a httpdocs under /folder :) so how could i now cut all
  content and paste to up folder i mean from /folder/httpdocs
  to /folder :)
 ---
 Yea that is a pita with lftp.  Adjust your lftp commnd or see man cp
 man lftp then look at the mirror option in it.  If using the GUI you
 ca cut and paste.

 John


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] copy source of ftp

2010-04-02 Thread cahit Eyigünlü
Thanks to every one all solutions was perfect

2010/4/2 Les Mikesell lesmikes...@gmail.com

 cahit Eyigünlü wrote:
  how could i copy all content of a ftp directory from ftp via console to
  cent os 5.4
 

 wget --mirror ftp://source_location

 --
   Les Mikesell
lesmikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
i have downloaded files with root to a user's folder but now he is not able
to delete some of them because owner is root how could i change the owner of
all folders and subfolders and files under a directory
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
which is user name :)

2010/4/2 Clive Hills discordia...@gmail.com

 The command you want is chown : read man chown.

 Clive

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
thanks


2010/4/3 Paul Stuffins dephe...@fsirc.net

 2010/4/2 cahit Eyigünlü cahit.eyigu...@gmail.com:
  which is user name :)
 
  2010/4/2 Clive Hills discordia...@gmail.com
 
  The command you want is chown : read man chown.
 
  Clive
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 

 chown --help will also help you
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
do you mean that for example a folder of root will be owned by 
chown -R root: /path/*


2010/4/3 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :
  thanks
 

 # chown -R youruser:youruser /path/to/your/downloaded/files

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] change owner

2010-04-02 Thread cahit Eyigünlü
the main problem that i have copied files directly to public_html folder and
it is returnin 500 internal error now ,
and i need to allow the web user of this folder to read write content of
this folder

2010/4/3 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :
  do you mean that for example a folder of root will be owned by 
  chown -R root: /path/*
 

 I think it would be wise to read some basic *nix documentation.
 Something like :

 * Linux Cookbook (Carla Schroder)
 * Definitive Guide to CentOS
 * Foundations of CentOS
 * Red Hat Enterprise Linux 5 Administration

 It's not much use trying to fly a plane by pushing all the buttons and
 see what they do. This advice is meant in a friendly way.

 Cheers,

 Niki
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] very strange

2010-03-30 Thread cahit Eyigünlü
i have 2 servers in a datacenter and each of them has 2 virtual machines one
is linux the other is windows of wirtual machines.
when i want to transfer my ip addresses between theese servers , for ex:
let me say
main server 1' guest windows : A
main server 1' guest CentOs: B
main server 2' guest windows : C
main server 1' guest CentOs: D

when i handle an ip of any computers ip in network from A or C it directly
handles, no matter where the ip routed from cisco router :D
but when i want to handle any computers ip in network from B or D it never
get the ip from other source :D

how this could happen :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] remove openssl

2010-03-29 Thread cahit Eyigünlü
Thanks.

2010/3/29 Eero Volotinen eero.voloti...@iki.fi

 2010/3/29 cahit Eyigünlü cahit.eyigu...@gmail.com:
  i am trying to install plesk but my cent os has a newer version of open
 ssl
  that is why my setup is interrupting, how could i remove open ssl ?
  i tryed yum remove openssl but it encounter lots of errors i want to
 remove
  only the open ssl not the related files like wget networkmanager ...

 well, you can't do that without breaking the your centos installation.

 --
 Eero
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] remove openssl

2010-03-29 Thread cahit Eyigünlü
wow :) that is good thanks

2010/3/29 Kahlil Hodgson kahlil.hodg...@dealmax.com.au

 On 03/29/2010 05:38 PM, Eero Volotinen wrote:
  2010/3/29 cahit Eyigünlü cahit.eyigu...@gmail.com:
  i am trying to install plesk but my cent os has a newer version of open
 ssl
  that is why my setup is interrupting, how could i remove open ssl ?
  i tryed yum remove openssl but it encounter lots of errors i want to
 remove
  only the open ssl not the related files like wget networkmanager ...
 
  well, you can't do that without breaking the your centos installation.
 
 you could try

yum downgrade openssl-X.Y.Z-W

 to downgrade to an earlier version which _may_ keep the rest of your
 installation happy.

 you can look for earlier version with

yum --showduplicates list openssl

 downgrading openssl may make things less secure though YMMV.

 Kal
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
i am reaching the network with this :
route add -net 217.20.117.1 netmask 255.255.255.255 dev eth0
route add default gw 217.20.117.1

i have added eth0
address0=217.20.117.1
subnet0=255.255.255.255

the first command is ok but how could i set the second command to cent os to
do it automatically



2010/3/29 Niki Kovacs cont...@kikinovak.net

 cahit Eyigünlü a écrit :
  there is sth. different on my network my gateway is on different subnet
  then my static ip so is this works?
 

 One of the fundamentals of networking - as explained to you a few posts
 ago - is that your gateway has to be on the same subnet than your IP, or
 how else could you possibly reach it?

 Cheers,

 Niki Kovacs
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
This is my two line on route-eth0
 address0=217.20.117.1
 subnet0=255.255.255.255
but what should be next line for default gateway the only thing that i could
not complete is default gateway setting
and my netstat table must looklike this :
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
eth0
xx.xx.xx.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
0.0.0.0 217.20.117.10.0.0.0 UG0 0  0
eth0
and now i see only the first two line truely i am adding 3rd line on every
time restart manually with route add default gw


2010/3/29 Les Mikesell lesmikes...@gmail.com

 cahit Eyigünlü wrote:
  i am reaching the network with this :
  route add -net 217.20.117.1 netmask 255.255.255.255 dev eth0
  route add default gw 217.20.117.1
 
  i have added eth0
  address0=217.20.117.1
  subnet0=255.255.255.255
 
  the first command is ok but how could i set the second command to cent
  os to do it automatically
 

 If you create a file named /etc/sysconfig/network-scripts/route-eth0 you
 can put
 lines in it that will have 'ip route' added at the beginning and executed
 after
 the interface is up.  ip route takes some different arguments than the
 route
 command - see man ip for details.

 --
   Les Mikesell
   lesmikes...@gmail.com



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
there is no problem with my internet connection i just want that to do this
cent os automatically :
route add default gw 217.20.117.1
before typing this my netstat -rn looks like this :
r...@lin3 [~]# netstat -rn (that is not able to connect to internet)
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
eth0
188.72.255.00.0.0.0 255.255.255.0   U 0 0  0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
eth0
after adding gateway : (this works perfect)
r...@lin3 [~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
eth0
188.72.255.00.0.0.0 255.255.255.0   U 0 0  0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
eth0
*0.0.0.0 217.20.117.10.0.0.0 UG0 0  0
eth0 *

i just want to add bold line automatically

and this is my ifconfig :
r...@lin3 [~]# ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:0C:29:83:21:44
  inet addr:188.72.255.189  Bcast:188.72.255.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fe83:2144/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:9653 errors:0 dropped:0 overruns:0 frame:0
  TX packets:458 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:876648 (856.1 KiB)  TX bytes:50814 (49.6 KiB)
  Base address:0x2000 Memory:d892-d894

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:483 errors:0 dropped:0 overruns:0 frame:0
  TX packets:483 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:75305 (73.5 KiB)  TX bytes:75305 (73.5 KiB)

sit0  Link encap:IPv6-in-IPv4
  NOARP  MTU:1480  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



2010/3/29 Matt Iavarone matt.iavar...@gmail.com

 2010/3/29 cahit Eyigünlü cahit.eyigu...@gmail.com:
  This is my two line on route-eth0
   address0=217.20.117.1
   subnet0=255.255.255.255
  but what should be next line for default gateway the only thing that i
 could
  not complete is default gateway setting
  and my netstat table must looklike this :
  Destination Gateway Genmask Flags   MSS Window  irtt
  Iface
  217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
  eth0
  xx.xx.xx.0 0.0.0.0 255.255.255.0   U 0 0  0
 eth0
  0.0.0.0 217.20.117.10.0.0.0 UG0 0  0
  eth0
  and now i see only the first two line truely i am adding 3rd line on
 every
  time restart manually with route add default gw
 
  2010/3/29 Les Mikesell lesmikes...@gmail.com
 
  cahit Eyigünlü wrote:
   i am reaching the network with this :
   route add -net 217.20.117.1 netmask 255.255.255.255 dev eth0
   route add default gw 217.20.117.1
  
   i have added eth0
   address0=217.20.117.1
   subnet0=255.255.255.255
  
   the first command is ok but how could i set the second command to cent
   os to do it automatically
  
 
  If you create a file named /etc/sysconfig/network-scripts/route-eth0 you
  can put
  lines in it that will have 'ip route' added at the beginning and
 executed
  after
  the interface is up.  ip route takes some different arguments than the
  route
  command - see man ip for details.
 
  --
Les Mikesell
lesmikes...@gmail.com
 
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 

 Why don't you post the results of 'ifconfig -a' and 'ip route show'?
 Giving information piecemeal is not helping anyone.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
Thanks rohan but our gateway on 24 ip block so i need to do it on way that i
send , unortunately this wont work becuase that is a global ip adress and
they can not set a gateway for each 255 block for ex. i have 5 more ip 2 of
them is on 78.159.xx.xx block so i need to set default gw to 217.20.117.1

2010/3/29 Rohan Gilchrist ro...@gilchrist.me

 So you're saying that your default gateway is an IP address that's part of
 a *different* network/subnet?

 I don't know how this network has been designed, but typically I would
 expect that your default gateway would be something like

 188.72.255.1

 rather than 217.20.117.1 that you've mentioned earlier.

 Take a look at mine for example:

 [~]ifconfig
 eth0  Link encap:Ethernet  HWaddr FE:FD:6D:4A:C1:69
   inet addr:109.xx.xxx.105  Bcast:109.74.193.255
  Mask:255.255.255.0
   inet6 addr: fe80::fcfd:6dff:fe4a:c169/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:78742 errors:0 dropped:0 overruns:0 frame:0
   TX packets:67114 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:35442733 (33.8 MiB)  TX bytes:12607832 (12.0 MiB)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:8292 errors:0 dropped:0 overruns:0 frame:0
   TX packets:8292 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1195297 (1.1 MiB)  TX bytes:1195297 (1.1 MiB)

 [~]netstat -rn
 Kernel IP routing table
 Destination Gateway Genmask Flags   MSS Window  irtt
 Iface
 109.xx.xxx.00.0.0.0 255.255.255.0   U 0 0  0
 eth0
 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
 eth0
 0.0.0.0 109.xx.xxx.10.0.0.0 UG0 0  0
 eth0

 So you can see my host has .105 assigned to eth0, and the default gateway
 is .1 of the same network/subnet.

 You might want to check that your addressing is correct.



 On Mon, 29 Mar 2010, cahit Eyig?nl? wrote:

  there is no problem with my internet connection i just want that to do
 this cent os automatically :route add default gw 217.20.117.1
  before typing this my netstat -rn looks like this :
  r...@lin3 [~]# netstat -rn (that is not able to connect to internet)
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window  irtt
 Iface
  217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
 eth0
  188.72.255.00.0.0.0 255.255.255.0   U 0 0  0
 eth0
  169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
 eth0
  after adding gateway : (this works perfect)
  r...@lin3 [~]# netstat -rn
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window  irtt
 Iface
  217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
 eth0
  188.72.255.00.0.0.0 255.255.255.0   U 0 0  0
 eth0
  169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
 eth0
  0.0.0.0 217.20.117.10.0.0.0 UG0 0  0
 eth0
 
  i just want to add bold line automatically
 
  and this is my ifconfig :
  r...@lin3 [~]# ifconfig -a
  eth0  Link encap:Ethernet  HWaddr 00:0C:29:83:21:44
inet addr:188.72.255.189  Bcast:188.72.255.255
  Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe83:2144/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:9653 errors:0 dropped:0 overruns:0 frame:0
TX packets:458 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:876648 (856.1 KiB)  TX bytes:50814 (49.6 KiB)
Base address:0x2000 Memory:d892-d894
 
  loLink encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:483 errors:0 dropped:0 overruns:0 frame:0
TX packets:483 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:75305 (73.5 KiB)  TX bytes:75305 (73.5 KiB)
 
  sit0  Link encap:IPv6-in-IPv4
NOARP  MTU:1480  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
 
 
  2010/3/29 Matt Iavarone matt.iavar...@gmail.com
2010/3/29 cahit Eyig?nl? cahit.eyigu...@gmail.com:
   This is my two line on route-eth0
address0=217.20.117.1
subnet0=255.255.255.255
   but what should be next line for default gateway the only thing that i
 could
  

Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
GATEWAY1=217.20.117.1 that does not worked

2010/3/29 Les Mikesell lesmikes...@gmail.com

 On 3/29/2010 8:09 AM, cahit Eyigünlü wrote:
  This is my two line on route-eth0
address0=217.20.117.1
subnet0=255.255.255.255
  but what should be next line for default gateway the only thing that i
  could not complete is default gateway setting
  and my netstat table must looklike this :
  Destination Gateway Genmask Flags   MSS Window  irtt
  Iface
  217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
  eth0
  xx.xx.xx.0 0.0.0.0 255.255.255.0   U 0 0  0
 eth0
  0.0.0.0 217.20.117.10.0.0.0 UG0 0  0
  eth0
  and now i see only the first two line truely i am adding 3rd line on
  every time restart manually with route add default gw
 

 If you want to use that syntax, you can probably add:
 GATEWAY1=217.20.117.1
 NETMASK1=0.0.0.0
 ADDRESS1=0.0.0.0

 Or this should work instead:
 default via 217.20.117.1 dev eth0

 But, I'd consider looking for a different service provider that does
 networking in a more standard way.  If they have to overlay subnets,
 they could at least assign an IP within each one on the gateway device
 so a standard configuration would be able to reach it.

 --
Les Mikesell
lesmikes...@gmail.com

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
it seems like a good solution but i could not figure out how to make this :D

2010/3/29 Les Mikesell lesmikes...@gmail.com

 On 3/29/2010 10:50 AM, cahit Eyigünlü wrote:
 
  GATEWAY1=217.20.117.1 that does not worked

 Did you add those lines after the ones you said had worked to give you
 the host route to 217.20.117.1?  You can't add a gateway until you have
 a route to it.

 What about the alternative I suggested of:
 default via 217.20.117.1 dev eth0

 You may have to wade through the
 /etc/sysconfig/network-scripts/ifup-routes script to figure out the
 right syntax.   (And maybe you can't mix the different syntaxes in the
 same file...).


 --
Les Mikesell
lesmikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Forgetting network settings

2010-03-28 Thread cahit Eyigünlü
i am adding routr options with
route add -net xxx dev eth0
but when i reset computer it is not in netstat table anymore
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forgetting network settings

2010-03-28 Thread cahit Eyigünlü
I am new on this group :D

2010/3/29 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
  i am adding routr options with
  route add -net xxx dev eth0
  but when i reset computer it is not in netstat table anymore

 yes, the route command is not persistent.  someone explained many posts
 ago what files to edit to add permanent settings.



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forgetting network settings

2010-03-28 Thread cahit Eyigünlü
there is sth. different on my network my gateway is on different subnet then
my static ip so is this works?

2010/3/29 Matt Iavarone matt.iavar...@gmail.com

 2010/3/28 cahit Eyigünlü cahit.eyigu...@gmail.com:
  i am adding routr options with
  route add -net xxx dev eth0
  but when i reset computer it is not in netstat table anymore
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 

 As someone mentioned, check route-ethx.  It's handy to look through
 the ifup/ifdown scripts to see what goes on when you start your
 network.

 -Matt Iavarone
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] remove openssl

2010-03-28 Thread cahit Eyigünlü
i am trying to install plesk but my cent os has a newer version of open ssl
that is why my setup is interrupting, how could i remove open ssl ?
i tryed yum remove openssl but it encounter lots of errors i want to remove
only the open ssl not the related files like wget networkmanager ...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] need help

2010-03-27 Thread cahit Eyigünlü
Firstly my gateway 217.20.xxx.1

My ip adress 188.72.xxx.189

Sub net 255.255.255.0 this settings works on fedora 12 perfect but on
centos  ubuntu freebsd or fedora core it is not working but on all this
systems i am able to use nat, i have installed linux again and again
thousands of time the given result from centos 5.4

Also as you could see there is no gateway of me on the route table



Thanks for your help



[r...@lin3 ~]# ifconfig -a

eth0  Link encap:Ethernet  HWaddr 00:0C:29:0E:CD:B0

  inet addr:188.72.xxx.189  Bcast:188.72.xxx.255  Mask:255.255.255.0

  inet6 addr: fe80::20c:29ff:fe0e:cdb0/64 Scope:Link

  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

  RX packets:1168 errors:0 dropped:0 overruns:0 frame:0

  TX packets:63 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:1000

  RX bytes:97464 (95.1 KiB)  TX bytes:11603 (11.3 KiB)

  Base address:0x2000 Memory:d894-d896



eth1  Link encap:Ethernet  HWaddr 00:0C:29:0E:CD:BA

  inet addr:192.168.130.133  Bcast:192.168.130.255
Mask:255.255.255.0

  inet6 addr: fe80::20c:29ff:fe0e:cdba/64 Scope:Link

  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

  RX packets:14 errors:0 dropped:0 overruns:0 frame:0

  TX packets:80 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:1000

  RX bytes:2068 (2.0 KiB)  TX bytes:15191 (14.8 KiB)

  Base address:0x2080 Memory:d896-d898



loLink encap:Local Loopback

  inet addr:127.0.0.1  Mask:255.0.0.0

  inet6 addr: ::1/128 Scope:Host

  UP LOOPBACK RUNNING  MTU:16436  Metric:1

  RX packets:8281 errors:0 dropped:0 overruns:0 frame:0

  TX packets:8281 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:0

  RX bytes:4840628 (4.6 MiB)  TX bytes:4840628 (4.6 MiB)



sit0  Link encap:IPv6-in-IPv4

  NOARP  MTU:1480  Metric:1

  RX packets:0 errors:0 dropped:0 overruns:0 frame:0

  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

  collisions:0 txqueuelen:0

  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



[r...@lin3 ~]# route -n

Kernel IP routing table

*Destination Gateway Genmask Flags Metric RefUse
Iface*

*192.168.130.0   0.0.0.0 255.255.255.0   U 1  00
eth1*

*188.72.xxx.00.0.0.0 255.255.255.0   U 1  00
eth0*

[r...@lin3 ~]# service network restart

Bridged arabirimi durduruluyor:[  TAMAM  ]

Nat arabirimi durduruluyor:[  TAMAM  ]

loopback arayüzü durduruluyor: [  TAMAM  ]

loopback arayüzü etkinleştiriliyor:[  TAMAM  ]

*Bridged arayüzü etkinleştiriliyor:  RTNETLINK answers: Network is
unreachable*

   [  TAMAM  ] Nat
arayüzü etkinleştiriliyor:

eth1 için IP bilgisi saptanıyor... bitti.

   [  TAMAM  ]

[r...@lin3 ~]#
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
please check the attachments fedora is working with the properties given,
and nat is working also on cent os but bridged is not working i tryed Eero
what you write but still netstat -rn is same and i could not ping my
gateway

2010/3/27 Eero Volotinen eero.voloti...@iki.fi

 2010/3/27 cahit Eyigünlü cahit.eyigu...@gmail.com:
  Firstly my gateway 217.20.xxx.1
 
  My ip adress 188.72.xxx.189
 
  Sub net 255.255.255.0 this settings works on fedora 12 perfect but on
  centos  ubuntu freebsd or fedora core it is not working but on all this
  systems i am able to use nat, i have installed linux again and again
  thousands of time the given result from centos 5.4

 echo GATEWAY=217.20.xxx.1  /etc/sysconfig/network


 --
 Eero
 --
 Eero
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

login as: root
r...@78.159.97.15's password:
Last login: Sat Mar 27 02:46:19 2010 from 212.253.233.143
r...@lin [~]# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0C:29:27:73:A8
  inet addr:78.159.97.15  Bcast:78.159.97.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fe27:73a8/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:33341414 errors:2409 dropped:5344 overruns:0 frame:0
  TX packets:22285968 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:479420277 (457.2 MiB)  TX bytes:3286848027 (3.0 GiB)
  Interrupt:19 Base address:0x2000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:216475 errors:0 dropped:0 overruns:0 frame:0
  TX packets:216475 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:42560827 (40.5 MiB)  TX bytes:42560827 (40.5 MiB)

r...@lin [~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
217.20.117.10.0.0.0 255.255.255.255 UH0 0  0 eth0
78.159.97.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
0.0.0.0 217.20.117.10.0.0.0 UG0 0  0 eth0 
 
 
 
[r...@lin2 ~]# service network restart
eth0 arabirimi durduruluyor:   [  TAMAM  ]
Geridönüþ arayüzü durduruluyor:[  TAMAM  ]
Að parametreleri ayarlanýyor:  [  TAMAM  ]
Geridönüþ arayüzü etkinleþtiriliyor:   [  TAMAM  ]
eth0 arayüzü etkinleþtiriliyor:[  TAMAM  ]
[r...@lin2 ~]# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0C:29:20:C0:28
  inet addr:188.72.255.190  Bcast:188.72.255.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fe20:c028/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1109 errors:0 dropped:0 overruns:0 frame:0
  TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:83430 (81.4 KiB)  TX bytes:1652 (1.6 KiB)
  Interrupt:193 Base address:0x2024

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:2884 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2884 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:4985288 (4.7 MiB)  TX bytes:4985288 (4.7 MiB)

[r...@lin2 ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
188.72.255.00.0.0.0 255.255.255.0   U 0 0  0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0 eth0
[r...@lin2 ~]# ping 217.20.117.1
connect: Network is unreachable
 
 
 
 
r...@lin2 ~]# service network restart
eth0 arabirimi durduruluyor:   [  TAMAM  ]
Geridönüþ arayüzü durduruluyor:[  TAMAM  ]
Að parametreleri ayarlanýyor:  [  TAMAM  ]
Geridönüþ arayüzü etkinleþtiriliyor:   [  TAMAM  ]
eth0 arayüzü etkinleþtiriliyor:[  TAMAM  ]
[r...@lin2 ~]# ifconfig
eth0  Link encap:Ethernet

Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
check fedora's txt i've send it is working perfect
my  gateway : 217.20.117.1
my ip 188.72.255.289
subnet 255.255.255.0
fedora 12 is working when i set ip directly but any other linux dist is not
:( please i need help :(



2010/3/27 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
 
  Firstly my gateway 217.20.xxx.1
 
  My ip adress 188.72.xxx.189
 

 there's something you're not telling us here, as the gateway has to be
 reachable via a network, and 217.20.xxx.1 is not part of either network
 shown in your route or ifconfig output.



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
did you get the attachment i am adding again ,  188.72.255.189 already added
but there is sth. different with fedora which is working with bridged
connection esppecially gateway, beside this i could not ping my own gateway
there are 4 other windows machines and all of them working perfect

2010/3/27 Eero Volotinen eero.voloti...@iki.fi

 2010/3/27 cahit Eyigünlü cahit.eyigu...@gmail.com:
  check fedora's txt i've send it is working perfect
  my  gateway : 217.20.117.1
  my ip 188.72.255.289
  subnet 255.255.255.0
  fedora 12 is working when i set ip directly but any other linux dist is
 not
  :( please i need help :(

 maybe you need to run something like
 route add -host 188.72.255.289, but it's uncommon that gateway is not
 in the same net..

 --
 Eero
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

login as: root
r...@78.159.97.15's password:
Last login: Sat Mar 27 02:46:19 2010 from 212.253.233.143
r...@lin [~]# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0C:29:27:73:A8
  inet addr:78.159.97.15  Bcast:78.159.97.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fe27:73a8/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:33341414 errors:2409 dropped:5344 overruns:0 frame:0
  TX packets:22285968 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:479420277 (457.2 MiB)  TX bytes:3286848027 (3.0 GiB)
  Interrupt:19 Base address:0x2000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:216475 errors:0 dropped:0 overruns:0 frame:0
  TX packets:216475 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:42560827 (40.5 MiB)  TX bytes:42560827 (40.5 MiB)

r...@lin [~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
217.20.117.10.0.0.0 255.255.255.255 UH0 0  0 eth0
78.159.97.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
0.0.0.0 217.20.117.10.0.0.0 UG0 0  0 eth0 
 
 
 
[r...@lin2 ~]# service network restart
eth0 arabirimi durduruluyor:   [  TAMAM  ]
Geridönüþ arayüzü durduruluyor:[  TAMAM  ]
Að parametreleri ayarlanýyor:  [  TAMAM  ]
Geridönüþ arayüzü etkinleþtiriliyor:   [  TAMAM  ]
eth0 arayüzü etkinleþtiriliyor:[  TAMAM  ]
[r...@lin2 ~]# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0C:29:20:C0:28
  inet addr:188.72.255.190  Bcast:188.72.255.255  Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fe20:c028/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1109 errors:0 dropped:0 overruns:0 frame:0
  TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:83430 (81.4 KiB)  TX bytes:1652 (1.6 KiB)
  Interrupt:193 Base address:0x2024

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:2884 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2884 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:4985288 (4.7 MiB)  TX bytes:4985288 (4.7 MiB)

[r...@lin2 ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
188.72.255.00.0.0.0 255.255.255.0   U 0 0  0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0 eth0
[r...@lin2 ~]# ping 217.20.117.1
connect: Network is unreachable
 
 
 
 
r...@lin2 ~]# service network restart
eth0 arabirimi durduruluyor:   [  TAMAM  ]
Geridönüþ arayüzü durduruluyor:[  TAMAM  ]
Að parametreleri ayarlanýyor:  [  TAMAM  ]
Geridönüþ arayüzü etkinleþtiriliyor:   [  TAMAM  ]
eth0 arayüzü etkinleþtiriliyor:[  TAMAM  ]
[r...@lin2 ~]# ifconfig
eth0

Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
This is fedora's route table :
r...@lin [~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
eth0
78.159.97.0 0.0.0.0 255.255.255.0   U 0 0  0
eth0
0.0.0.0 217.20.117.10.0.0.0 UG0 0  0
eth0

and this is cent os which is not working :
[r...@lin2 ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
188.72.255.00.0.0.0 255.255.255.0   U 0 0  0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
eth0
[r...@lin2 ~]# ping 217.20.117.1
connect: Network is unreachable




2010/3/27 Robert Heller hel...@deepsoft.com

 At Sat, 27 Mar 2010 20:54:04 +0200 CentOS mailing list centos@centos.org
 wrote:

 
 
 
  check fedora's txt i've send it is working perfect
  my  gateway : 217.20.117.1
  my ip 188.72.255.289
  subnet 255.255.255.0
  fedora 12 is working when i set ip directly but any other linux dist is
 not
  :( please i need help :(

 Can you log into your fedora box and type this command at a shell prompt:

 netstat -r

 Copy and paste the results into an E-Mail message to this list.

 
 
 
  2010/3/27 John R Pierce pie...@hogranch.com
 
   cahit Eyigünlü wrote:
   
Firstly my gateway 217.20.xxx.1
   
My ip adress 188.72.xxx.189
   
  
   there's something you're not telling us here, as the gateway has to be
   reachable via a network, and 217.20.xxx.1 is not part of either network
   shown in your route or ifconfig output.
  
  
  
   ___
   CentOS mailing list
   CentOS@centos.org
   http://lists.centos.org/mailman/listinfo/centos
  
  MIME-Version: 1.0
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 

 --
 Robert Heller -- 978-544-6933
 Deepwoods Software-- Download the Model Railroad System
 http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
 hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
it was 188.72.255.189 i wrote wrong with 289 sorry

2010/3/27 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
  did you get the attachment i am adding again ,  188.72.255.189 already
  added but there is sth. different with fedora which is working with
  bridged connection esppecially gateway, beside this i could not ping
  my own gateway there are 4 other windows machines and all of them
  working perfect

 I'm not reading your attachments, frankly, I'm surprised the mail list
 server didn't strip them as attachments are frowned upon on email lists.

 now you're saying you have a bridged connection to?  whats being
 bridged? is there anything else you're not telling us about?   the
 network as given in the body of your emails is an illegal configuration




 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
Fedora 12 designed automatically and i need same settings because centos is
in the same machine with fedora under vmware ...
the only one difference is fedora's ip address 78.159.97.xx and centos is
188.72.255.189 everything else same

2010/3/27 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
  This is fedora's route table :
  r...@lin [~]# netstat -rn
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window
   irtt Iface
  217.20.117.10.0.0.0 255.255.255.255 UH0 0
   0 eth0
  78.159.97.0 0.0.0.0 255.255.255.0   U 0 0
   0 eth0
  0.0.0.0 217.20.117.10.0.0.0 UG0 0
   0 eth0
 
  and this is cent os which is not working :
  [r...@lin2 ~]# netstat -rn
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window
   irtt Iface
  188.72.255.00.0.0.0 255.255.255.0   U 0 0
   0 eth0
  169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
   0 eth0
  [r...@lin2 ~]# ping 217.20.117.1
  connect: Network is unreachable

 fedora's eth0 has an unconventional route to the gateway via eth0 (the
 first line)

 this is an odd network, i see like 4 different subnets all mashed up on
 the same physical network segment?   who designed this?  surely not
 someone with a proper network engineering background..







 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
i tryed this :
[r...@lin2 ~]# route add default gw 217.20.117.1 dev eth0
the answer
siocaddrt : network is unreachable

2010/3/27 Robert Heller hel...@deepsoft.com

 At Sat, 27 Mar 2010 21:07:49 +0200 CentOS mailing list centos@centos.org
 wrote:

 
 
 
  This is fedora's route table :
  r...@lin [~]# netstat -rn
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window  irtt
  Iface
  217.20.117.10.0.0.0 255.255.255.255 UH0 0  0
  eth0
  78.159.97.0 0.0.0.0 255.255.255.0   U 0 0  0
  eth0
  0.0.0.0 217.20.117.10.0.0.0 UG0 0  0
  eth0
 
  and this is cent os which is not working :
  [r...@lin2 ~]# netstat -rn
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window  irtt
  Iface
  188.72.255.00.0.0.0 255.255.255.0   U 0 0  0
  eth0
  169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
  eth0
  [r...@lin2 ~]# ping 217.20.117.1
  connect: Network is unreachable

 Manual setup:

 [r...@lin2 ~]# route add default gw 217.20.117.1 dev eth0
 [r...@lin2 ~]# route add host  217.20.117.1 netmask 255.255.255.255 dev
 eth0

 Automagical setup:

 [r...@lin2 ~]# cat /etc/sysconfig/network-scripts/route-eth0
 ADDRESS0=217.20.117.1
 NETMASK0=255.255.255.255
 EOF
 [r...@lin2 ~]# cat /etc/sysconfig/network EOF
 GATEWAY=217.20.117.1
 EOF

 The *assumes* that the network (switch or router box) that eth0 is
 connected to also has 217.20.117.1 connected to it.  Typically a router
 'box' contains both the router and a ethernet switch: a 'pure' router
 would only have two ethernet jacks, one for each of the two networks the
 router routes between.  Since there is no great demand to put a single
 machine on a network and since the switch hardware is dirt cheap and
 since no one does coax Ethernet anymore, modern router boxes include a
 switch in the 'inside' network.


 
 
 
 
  2010/3/27 Robert Heller hel...@deepsoft.com
 
   At Sat, 27 Mar 2010 20:54:04 +0200 CentOS mailing list 
 centos@centos.org
   wrote:
  
   
   
   
check fedora's txt i've send it is working perfect
my  gateway : 217.20.117.1
my ip 188.72.255.289
subnet 255.255.255.0
fedora 12 is working when i set ip directly but any other linux dist
 is
   not
:( please i need help :(
  
   Can you log into your fedora box and type this command at a shell
 prompt:
  
   netstat -r
  
   Copy and paste the results into an E-Mail message to this list.
  
   
   
   
2010/3/27 John R Pierce pie...@hogranch.com
   
 cahit Eyigünlü wrote:
 
  Firstly my gateway 217.20.xxx.1
 
  My ip adress 188.72.xxx.189
 

 there's something you're not telling us here, as the gateway has to
 be
 reachable via a network, and 217.20.xxx.1 is not part of either
 network
 shown in your route or ifconfig output.



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

MIME-Version: 1.0
   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
   
   
  
   --
   Robert Heller -- 978-544-6933
   Deepwoods Software-- Download the Model Railroad System
   http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
   hel...@deepsoft.com   --
 http://www.deepsoft.com/ModelRailroadSystem/
  
  
   ___
   CentOS mailing list
   CentOS@centos.org
   http://lists.centos.org/mailman/listinfo/centos
  
  
  MIME-Version: 1.0
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 

 --
 Robert Heller -- 978-544-6933
 Deepwoods Software-- Download the Model Railroad System
 http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
 hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
this is given by datacenter and 188.72.255.188 my webserver's static ip

2010/3/27 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
  Fedora 12 designed automatically and i need same settings because
  centos is in the same machine with fedora under vmware ...
  the only one difference is fedora's ip address 78.159.97.xx and centos
  is 188.72.255.189 everything else same


 why so many different network numbers on the same physical/virtual LAN
 segment ?
 and why doesn't each network have its own in-network gateway address
 ?setting it up this way is rather unconventional to say the least.









 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
i am newbee :( could you please write in order the routes must added for me
ip 188.172.255.189
subnet 255.255.255.0
gateway 217.20.117.1



2010/3/27 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:
  i tryed this :
  [r...@lin2 ~]# route add default gw 217.20.117.1 dev eth0
  the answer
  siocaddrt : network is unreachable
 
  Manual setup:
 
  [r...@lin2 ~]# route add default gw 217.20.117.1 dev eth0
  [r...@lin2 ~]# route add host  217.20.117.1 netmask
  255.255.255.255 dev eth0
 

 try adding the host first.



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
i understand you the answer machine name could not resolved

27 Mart 2010 22:01 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı:

 i am newbee :( could you please write in order the routes must added for me
 ip 188.172.255.189
 subnet 255.255.255.0
 gateway 217.20.117.1



 2010/3/27 John R Pierce pie...@hogranch.com

 cahit Eyigünlü wrote:

  i tryed this :
  [r...@lin2 ~]# route add default gw 217.20.117.1 dev eth0
  the answer
  siocaddrt : network is unreachable
 
  Manual setup:
 
  [r...@lin2 ~]# route add default gw 217.20.117.1 dev eth0
  [r...@lin2 ~]# route add host  217.20.117.1 netmask
  255.255.255.255 dev eth0
 

 try adding the host first.



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
but how fedora works perfect also windows too

2010/3/27 Les Mikesell lesmikes...@gmail.com

 cahit Eyigünlü wrote:
  this is given by datacenter and 188.72.255.188 my webserver's static ip
 

 That doesn't make sense.  They should give you a gateway address that is
 within
 the range of your own IP's netmask.  If it works at all under any OS it
 must be
 because the gateway router is proxy-arp'ing for anything it can reach.

 --
   Les Mikesell
lesmikes...@gmail.com

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help

2010-03-27 Thread cahit Eyigünlü
it worked thankes every body i had a problem with activating
network card :D

[r...@lin2 ~]# route add default gw 217.20.117.1 dev eth0
[r...@lin2 ~]# route add host  217.20.117.1 netmask 255.255.255.255 dev eth0

that is solution

27 Mart 2010 22:50 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı:

 but how fedora works perfect also windows too

 2010/3/27 Les Mikesell lesmikes...@gmail.com

 cahit Eyigünlü wrote:
  this is given by datacenter and 188.72.255.188 my webserver's static ip
 

 That doesn't make sense.  They should give you a gateway address that is
 within
 the range of your own IP's netmask.  If it works at all under any OS it
 must be
 because the gateway router is proxy-arp'ing for anything it can reach.

 --
   Les Mikesell
lesmikes...@gmail.com

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [oauth] Getting user credentials

2009-12-04 Thread cahit Eyigünlü
Take a look at this please :

Google's result :


oauth_token=*1%2FJefQs9cHFI8Ha2e5YjdkU*woauth_token_secret=*%2B74EaiHRmJ%2B1dBGUOOYIQL4H*





Authorization: OAuth oauth_version=1.0,
oauth_nonce=58b600e9773540aafa65cb41b31238cf,
oauth_timestamp=1259928326,
oauth_consumer_key=*www.file4share.net*,
oauth_token=*1%2FJefQs9cHFI8Ha2e5YjdkUw*,
oauth_signature_method=HMAC-SHA1,
oauth_signature=r%2B%2FoQx8Gjt1U5YW6FQd8aOahyhQ%3D



Signature  =  838Ix+wBPh/XBjdUbLkVNlB9KMs=


when i use the bold red values i get the signature as given above but why :(
if there is a problem with my function i won't be able to complete steps
until here where could be the difference in your opinion?



2009/12/4 mat...@gmail mat...@gmail.com

 Failed to verify 3 legged OAuth request probably means your signature is
 invalid.
 Invalid consumer key means something different (ex. your consumer is not
 verified yet)

 I'm not good at .NET, but if your signature is same with that this ruby
 script generate, it should be OK.
 http://bit.ly/oauth-signature-checker

 On 2009/12/04, at 13:54, cahit Eyigünlü wrote:

  I verified the domain and also i tryed the same on the localo but no way
 i always get the same result
 
 
 
 
  Dim item As New OAuth.OAuthBase
  Dim returns
  Dim ts = item.GenerateTimeStamp
  Dim nonce = item.GenerateNonce
  Dim Sign = item.GenerateSignature(New Uri(
 http://www-opensocial.googleusercontent.com/api/people/@me/@self;),
 consumerKey, consumerSecret, Session(Token2), Session(SecretToken2),
 GET, ts, nonce, , returns)
 
  do you think is this create the right signature ? do you have any idea
 with vb ?
 
 
  2009/12/4 mat...@gmail mat...@gmail.com
  The parameters seems OK.
 
  Then, it might be because your consumer's domain is not verified, or
 different with www.file4share.net.
 
  On 2009/12/04, at 13:20, cahit Eyigünlü wrote:
 
   With this information it is working on the google playground :( but i
 could not understand why it is telling me that
  
   04 Aralık 2009 06:20 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
  
   Dim scope As String = 
 http://www-opensocial.googleusercontent.com/api/people/;
   Dim returnURL As String = 
 http://www.file4share.net/Returns/Gmail.aspx;
   Dim RequestFrom As String = 
 http://www-opensocial.googleusercontent.com/api/people/@me/@self;
  
  
   2009/12/4 mat...@gmail mat...@gmail.com
   can you send the OAuth scope parameter you send when getting request
 token?
   it might not be Portable Contact API's one.
  
   the scope list is here, though I couldn't find any info about portable
 contact API's scope on google's documents :(
   http://googlecodesamples.com/oauth_playground/
  
   On 2009/12/04, at 13:00, cahit Eyigünlü wrote:
  
Sorry for second post sometimes also give this error :
Failed to verify 3 legged OAuth request. Request was invalid.Invalid
 AuthSub token.
   
but i use the Token that given on the last step :(
   
   
   
   
04 Aralık 2009 05:58 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
I am at the end very thank you for your helps i saved my day with
 your helps
one last thing to complete my operation i have an from :
   
http://www-opensocial.googleusercontent.com/api/people/@me/@self
OAuth Authentication FailureInvalid consumer key, no app specified :
 www.file4share.net
   
but my application registered on :
 https://www.google.com/accounts/ManageDomain
where could be the error do you have any idea?
   
   
   
   
2009/12/4 mat...@gmail mat...@gmail.com
You are probably using OAuth1.0.
Google probably support oauth_callback only which is set when you set
 up your consumer.
   
You need to send oauth_callback when you get request token if you
 want use OAuth1.0a.
OAuth had changed the timing of sending oauth_callback and added
 oauth_verifier.
   
Check this document for the details.
http://oauth.net/core/1.0a
   
I'm not sure your library support 1.0a though.
If not, use default oauth_callback which you set when you set up your
 consumer, and don't send oauth_verifier.
   
On 2009/12/04, at 11:32, cahit Eyigünlü wrote:
   
 I could not complete the third step when i try to get complete
 third step user is not comming back from the google if i use oauth_callback
 method user come back without oauth_verifier

 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
 I have found from your sended article
 could you please check if i have any mistake

 First request to :
 https://www.google.com/accounts/OAuthGetRequestToken
 with scope time_stamp Signature Consumer key

 Second Request to  redirecting user to :
 https://www.google.com/accounts/accounts/OAuthAuthorizeToken
 with
 oauth_tokenoauth_token_subsecret

 and finally:
 https://www.google.com/accounts/OAuthGetAccessToken
 i need

Re: [oauth] Getting user credentials

2009-12-04 Thread cahit Eyigünlü
This is my base string  :

GEThttp%3A%2F%2Fwww-opensocial.googleusercontent.com
%2Fapi%2Fpeople%2F%40me%2F%40selfoauth_consumer_key*%3Dwww.file4share.net
%26*oauth_nonce*%3D58b600e9773540aafa65cb41b31238cf%26*
oauth_signature_method*%3DHMAC-SHA1%26*oauth_timestamp*%3D1259928326%26*
oauth_token*%3D1%252FJefQs9cHFI8Ha2e5YjdkUw%26*oauth_version*%3D*1.0
this is google's

GEThttp%3A%2F%2Fwww-opensocial.googleusercontent.com%2Fapi%2Fpeople%2F%40me%2F%40selfoauth_consumer_key%3Dwww.file4share.net%26oauth_nonce%3D58b600e9773540aafa65cb41b31238cf%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1259928326%26oauth_token%3D1%252FJefQs9cHFI8Ha2e5YjdkUw%26oauth_version%3D1.0

Both of same but generated signatures are different , the most interesting
thing if my signature function is wrong how can i come to the this step ? i
am really sure mine is right so what is wrong on my signature string , could
you please write me in this step for generating signature is this right :
url :http://www-opensocial.googleusercontent.com/api/people/@me/@self
consumer key
consumer secret
second token string
second token secret string
method GET
Time span
Nonce


is there any thing else or do i need to do any changes on this paramaters ?




2009/12/4 mat...@gmail mat...@gmail.com

 OK, then compare the signature base strings which each library builds.
 If they are same, the problem is probably in the library (Ruby or .NET? has
 a bug), so you should ask about the issue to library developer community.

 On 2009/12/04, at 21:12, cahit Eyigünlü wrote:

  Take a look at this please :
 
  Google's result :
 
 
 oauth_token=1%2FJefQs9cHFI8Ha2e5YjdkUwoauth_token_secret=%2B74EaiHRmJ%2B1dBGUOOYIQL4H
 
 
  Authorization: OAuth oauth_version=1.0,
 oauth_nonce=58b600e9773540aafa65cb41b31238cf,
 oauth_timestamp=1259928326, oauth_consumer_key=www.file4share.net,
 oauth_token=1%2FJefQs9cHFI8Ha2e5YjdkUw,
 oauth_signature_method=HMAC-SHA1,
 oauth_signature=r%2B%2FoQx8Gjt1U5YW6FQd8aOahyhQ%3D
 
  Signature  =  838Ix+wBPh/XBjdUbLkVNlB9KMs=
 
 
 
  when i use the bold red values i get the signature as given above but why
 :( if there is a problem with my function i won't be able to complete steps
 until here where could be the difference in your opinion?
 
 
 
 
  2009/12/4 mat...@gmail mat...@gmail.com
  Failed to verify 3 legged OAuth request probably means your signature
 is invalid.
  Invalid consumer key means something different (ex. your consumer is
 not verified yet)
 
  I'm not good at .NET, but if your signature is same with that this ruby
 script generate, it should be OK.
  http://bit.ly/oauth-signature-checker
 
  On 2009/12/04, at 13:54, cahit Eyigünlü wrote:
 
   I verified the domain and also i tryed the same on the localo but no
 way i always get the same result
  
  
  
  
   Dim item As New OAuth.OAuthBase
   Dim returns
   Dim ts = item.GenerateTimeStamp
   Dim nonce = item.GenerateNonce
   Dim Sign = item.GenerateSignature(New Uri(
 http://www-opensocial.googleusercontent.com/api/people/@me/@self;),
 consumerKey, consumerSecret, Session(Token2), Session(SecretToken2),
 GET, ts, nonce, , returns)
  
   do you think is this create the right signature ? do you have any idea
 with vb ?
  
  
   2009/12/4 mat...@gmail mat...@gmail.com
   The parameters seems OK.
  
   Then, it might be because your consumer's domain is not verified, or
 different with www.file4share.net.
  
   On 2009/12/04, at 13:20, cahit Eyigünlü wrote:
  
With this information it is working on the google playground :( but i
 could not understand why it is telling me that
   
04 Aralık 2009 06:20 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
   
Dim scope As String = 
 http://www-opensocial.googleusercontent.com/api/people/;
Dim returnURL As String = 
 http://www.file4share.net/Returns/Gmail.aspx;
Dim RequestFrom As String = 
 http://www-opensocial.googleusercontent.com/api/people/@me/@self;
   
   
2009/12/4 mat...@gmail mat...@gmail.com
can you send the OAuth scope parameter you send when getting request
 token?
it might not be Portable Contact API's one.
   
the scope list is here, though I couldn't find any info about
 portable contact API's scope on google's documents :(
http://googlecodesamples.com/oauth_playground/
   
On 2009/12/04, at 13:00, cahit Eyigünlü wrote:
   
 Sorry for second post sometimes also give this error :
 Failed to verify 3 legged OAuth request. Request was
 invalid.Invalid AuthSub token.

 but i use the Token that given on the last step :(




 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
 I am at the end very thank you for your helps i saved my day with
 your helps
 one last thing to complete my operation i have an from :

 http://www-opensocial.googleusercontent.com/api/people/@me/@self
 OAuth Authentication FailureInvalid consumer key

Re: [oauth] Getting user credentials

2009-12-03 Thread cahit Eyigünlü
http://www-opensocial.googleusercontent.com/api/people/@me/@self

That is exactly what i am looking for but i could not see where would
i use my oAuth Auth token key to get this info ...


2009/12/4 mat...@gmail mat...@gmail.com

 Google has Portable Contacts API, a standardized way to get user profile
 info.
 http://portablecontacts.net/draft-spec.html

 http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html

 You can also get their external site accounts on Google Profile, using
 Social Graph API.
 http://code.google.com/intl/en/apis/socialgraph/

 Ident Engine is one of the easiest way to use Social Graph API.
 http://identengine.com/index.htm

 On 2009/12/04, at 8:24, File4Share wrote:

  How could i get the logged user info on google ? which scope do i need
  to use. I am able to getting token and auth token but i do not know
  how could i get credentials :(
 
  --
 
  You received this message because you are subscribed to the Google Groups
 OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
 
 

 --

 You received this message because you are subscribed to the Google Groups
 OAuth group.
 To post to this group, send email to oa...@googlegroups.com.
 To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.




--

You received this message because you are subscribed to the Google Groups 
OAuth group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.




Re: [oauth] Getting user credentials

2009-12-03 Thread cahit Eyigünlü
I have found from your sended article
could you please check if i have any mistake

First request to :
https://www.google.com/accounts/OAuthGetRequestToken
with scope time_stamp Signature Consumer key

Second Request to  redirecting user to :
https://www.google.com/accounts/accounts/OAuthAuthorizeToken
with
oauth_tokenoauth_token_subsecret
and finally:
https://www.google.com/accounts/OAuthGetAccessToken
i need to make a get to this url

i tryed on play ground it worked and on my own software i completed first
two steps to complete my software i need one last step
what do i need to send to OAuthGetAccessToken get authTokken and i think
this is for one time usage, is there any way to get  auth token for  longer
time oauth_token and oauth_token_secret





2009/12/4 mat...@gmail mat...@gmail.com

 OAuth Auth token key?
 Do you mean consumer key? or access token?

 On 2009/12/04, at 10:27, cahit Eyigünlü wrote:

  http://www-opensocial.googleusercontent.com/api/people/@me/@self
  That is exactly what i am looking for but i could not see where would i
 use my oAuth Auth token key to get this info ...
 
  2009/12/4 mat...@gmail mat...@gmail.com
  Google has Portable Contacts API, a standardized way to get user profile
 info.
  http://portablecontacts.net/draft-spec.html
 
 http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html
 
  You can also get their external site accounts on Google Profile, using
 Social Graph API.
  http://code.google.com/intl/en/apis/socialgraph/
 
  Ident Engine is one of the easiest way to use Social Graph API.
  http://identengine.com/index.htm
 
  On 2009/12/04, at 8:24, File4Share wrote:
 
   How could i get the logged user info on google ? which scope do i need
   to use. I am able to getting token and auth token but i do not know
   how could i get credentials :(
  
   --
  
   You received this message because you are subscribed to the Google
 Groups OAuth group.
   To post to this group, send email to oa...@googlegroups.com.
   To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
   For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
  
  
 
  --
 
  You received this message because you are subscribed to the Google Groups
 OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
 
 
 
 
  --
 
  You received this message because you are subscribed to the Google Groups
 OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.

 --

 You received this message because you are subscribed to the Google Groups
 OAuth group.
 To post to this group, send email to oa...@googlegroups.com.
 To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.




--

You received this message because you are subscribed to the Google Groups 
OAuth group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.




Re: [oauth] Getting user credentials

2009-12-03 Thread cahit Eyigünlü
I could not complete the third step when i try to get complete third step
user is not comming back from the google if i use oauth_callback method user
come back without oauth_verifier

04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı:

 I have found from your sended article
 could you please check if i have any mistake

 First request to :
 https://www.google.com/accounts/OAuthGetRequestToken
 with scope time_stamp Signature Consumer key

 Second Request to  redirecting user to :
 https://www.google.com/accounts/accounts/OAuthAuthorizeToken
 with
 oauth_tokenoauth_token_subsecret
 and finally:
 https://www.google.com/accounts/OAuthGetAccessToken
 i need to make a get to this url

 i tryed on play ground it worked and on my own software i completed first
 two steps to complete my software i need one last step
 what do i need to send to OAuthGetAccessToken get authTokken and i think
 this is for one time usage, is there any way to get  auth token for  longer
 time oauth_token and oauth_token_secret





 2009/12/4 mat...@gmail mat...@gmail.com

 OAuth Auth token key?
 Do you mean consumer key? or access token?

 On 2009/12/04, at 10:27, cahit Eyigünlü wrote:

  http://www-opensocial.googleusercontent.com/api/people/@me/@self
  That is exactly what i am looking for but i could not see where would i
 use my oAuth Auth token key to get this info ...
 
  2009/12/4 mat...@gmail mat...@gmail.com
  Google has Portable Contacts API, a standardized way to get user profile
 info.
  http://portablecontacts.net/draft-spec.html
 
 http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html
 
  You can also get their external site accounts on Google Profile, using
 Social Graph API.
  http://code.google.com/intl/en/apis/socialgraph/
 
  Ident Engine is one of the easiest way to use Social Graph API.
  http://identengine.com/index.htm
 
  On 2009/12/04, at 8:24, File4Share wrote:
 
   How could i get the logged user info on google ? which scope do i need
   to use. I am able to getting token and auth token but i do not know
   how could i get credentials :(
  
   --
  
   You received this message because you are subscribed to the Google
 Groups OAuth group.
   To post to this group, send email to oa...@googlegroups.com.
   To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
  
  
 
  --
 
  You received this message because you are subscribed to the Google
 Groups OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
 
 
 
 
  --
 
  You received this message because you are subscribed to the Google
 Groups OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.

 --

 You received this message because you are subscribed to the Google Groups
 OAuth group.
 To post to this group, send email to oa...@googlegroups.com.
 To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.





--

You received this message because you are subscribed to the Google Groups 
OAuth group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.




Re: [oauth] Getting user credentials

2009-12-03 Thread cahit Eyigünlü
I am at the end very thank you for your helps i saved my day with your helps
one last thing to complete my operation i have an from :
http://www-opensocial.googleusercontent.com/api/people/@me/@self
OAuth Authentication FailureInvalid consumer key, no app specified :
www.file4share.net
but my application registered on :
https://www.google.com/accounts/ManageDomain
where could be the error do you have any idea?




2009/12/4 mat...@gmail mat...@gmail.com

 You are probably using OAuth1.0.
 Google probably support oauth_callback only which is set when you set up
 your consumer.

 You need to send oauth_callback when you get request token if you want use
 OAuth1.0a.
 OAuth had changed the timing of sending oauth_callback and added
 oauth_verifier.

 Check this document for the details.
 http://oauth.net/core/1.0a

 I'm not sure your library support 1.0a though.
 If not, use default oauth_callback which you set when you set up your
 consumer, and don't send oauth_verifier.

 On 2009/12/04, at 11:32, cahit Eyigünlü wrote:

  I could not complete the third step when i try to get complete third step
 user is not comming back from the google if i use oauth_callback method user
 come back without oauth_verifier
 
  04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com
 yazdı:
  I have found from your sended article
  could you please check if i have any mistake
 
  First request to :
  https://www.google.com/accounts/OAuthGetRequestToken
  with scope time_stamp Signature Consumer key
 
  Second Request to  redirecting user to :
  https://www.google.com/accounts/accounts/OAuthAuthorizeToken
  with
  oauth_tokenoauth_token_subsecret
 
  and finally:
  https://www.google.com/accounts/OAuthGetAccessToken
  i need to make a get to this url
 
  i tryed on play ground it worked and on my own software i completed first
 two steps to complete my software i need one last step
  what do i need to send to OAuthGetAccessToken get authTokken and i think
 this is for one time usage, is there any way to get  auth token for  longer
 time oauth_token and oauth_token_secret
 
 
 
 
 
  2009/12/4 mat...@gmail mat...@gmail.com
  OAuth Auth token key?
  Do you mean consumer key? or access token?
 
  On 2009/12/04, at 10:27, cahit Eyigünlü wrote:
 
   http://www-opensocial.googleusercontent.com/api/people/@me/@self
   That is exactly what i am looking for but i could not see where would i
 use my oAuth Auth token key to get this info ...
  
   2009/12/4 mat...@gmail mat...@gmail.com
   Google has Portable Contacts API, a standardized way to get user
 profile info.
   http://portablecontacts.net/draft-spec.html
  
 http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html
  
   You can also get their external site accounts on Google Profile, using
 Social Graph API.
   http://code.google.com/intl/en/apis/socialgraph/
  
   Ident Engine is one of the easiest way to use Social Graph API.
   http://identengine.com/index.htm
  
   On 2009/12/04, at 8:24, File4Share wrote:
  
How could i get the logged user info on google ? which scope do i
 need
to use. I am able to getting token and auth token but i do not know
how could i get credentials :(
   
--
   
You received this message because you are subscribed to the Google
 Groups OAuth group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
   
   
  
   --
  
   You received this message because you are subscribed to the Google
 Groups OAuth group.
   To post to this group, send email to oa...@googlegroups.com.
   To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
   For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
  
  
  
  
   --
  
   You received this message because you are subscribed to the Google
 Groups OAuth group.
   To post to this group, send email to oa...@googlegroups.com.
   To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
   For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
 
  --
 
  You received this message because you are subscribed to the Google Groups
 OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
 
 
 
 
 
  --
 
  You received this message because you are subscribed to the Google Groups
 OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com

Re: [oauth] Getting user credentials

2009-12-03 Thread cahit Eyigünlü
Sorry for second post sometimes also give this error :
Failed to verify 3 legged OAuth request. Request was invalid.Invalid AuthSub
token.
but i use the Token that given on the last step :(




04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı:

 I am at the end very thank you for your helps i saved my day with your
 helps
 one last thing to complete my operation i have an from :

 http://www-opensocial.googleusercontent.com/api/people/@me/@self
 OAuth Authentication FailureInvalid consumer key, no app specified :
 www.file4share.net
 but my application registered on :
 https://www.google.com/accounts/ManageDomain
 where could be the error do you have any idea?




 2009/12/4 mat...@gmail mat...@gmail.com

 You are probably using OAuth1.0.
 Google probably support oauth_callback only which is set when you set up
 your consumer.

 You need to send oauth_callback when you get request token if you want use
 OAuth1.0a.
 OAuth had changed the timing of sending oauth_callback and added
 oauth_verifier.

 Check this document for the details.
 http://oauth.net/core/1.0a

 I'm not sure your library support 1.0a though.
 If not, use default oauth_callback which you set when you set up your
 consumer, and don't send oauth_verifier.

 On 2009/12/04, at 11:32, cahit Eyigünlü wrote:

  I could not complete the third step when i try to get complete third
 step user is not comming back from the google if i use oauth_callback method
 user come back without oauth_verifier
 
  04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com
 yazdı:
  I have found from your sended article
  could you please check if i have any mistake
 
  First request to :
  https://www.google.com/accounts/OAuthGetRequestToken
  with scope time_stamp Signature Consumer key
 
  Second Request to  redirecting user to :
  https://www.google.com/accounts/accounts/OAuthAuthorizeToken
  with
  oauth_tokenoauth_token_subsecret
 
  and finally:
  https://www.google.com/accounts/OAuthGetAccessToken
  i need to make a get to this url
 
  i tryed on play ground it worked and on my own software i completed
 first two steps to complete my software i need one last step
  what do i need to send to OAuthGetAccessToken get authTokken and i think
 this is for one time usage, is there any way to get  auth token for  longer
 time oauth_token and oauth_token_secret
 
 
 
 
 
  2009/12/4 mat...@gmail mat...@gmail.com
  OAuth Auth token key?
  Do you mean consumer key? or access token?
 
  On 2009/12/04, at 10:27, cahit Eyigünlü wrote:
 
   http://www-opensocial.googleusercontent.com/api/people/@me/@self
   That is exactly what i am looking for but i could not see where would
 i use my oAuth Auth token key to get this info ...
  
   2009/12/4 mat...@gmail mat...@gmail.com
   Google has Portable Contacts API, a standardized way to get user
 profile info.
   http://portablecontacts.net/draft-spec.html
  
 http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html
  
   You can also get their external site accounts on Google Profile, using
 Social Graph API.
   http://code.google.com/intl/en/apis/socialgraph/
  
   Ident Engine is one of the easiest way to use Social Graph API.
   http://identengine.com/index.htm
  
   On 2009/12/04, at 8:24, File4Share wrote:
  
How could i get the logged user info on google ? which scope do i
 need
to use. I am able to getting token and auth token but i do not know
how could i get credentials :(
   
--
   
You received this message because you are subscribed to the Google
 Groups OAuth group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
   
   
  
   --
  
   You received this message because you are subscribed to the Google
 Groups OAuth group.
   To post to this group, send email to oa...@googlegroups.com.
   To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
  
  
  
  
   --
  
   You received this message because you are subscribed to the Google
 Groups OAuth group.
   To post to this group, send email to oa...@googlegroups.com.
   To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.
 
  --
 
  You received this message because you are subscribed to the Google
 Groups OAuth group.
  To post to this group, send email to oa...@googlegroups.com.
  To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
 http

Re: [oauth] Re: How many consumer keys do I need?

2009-12-03 Thread cahit Eyigünlü
Please try this three buttons in the given order on the page
http://www.file4share.net/Returns/Gmail.aspx
and on the last step it generates the request url but it will return you an
error message :(


2009/12/4 Monis monisiq...@gmail.com

 How can a consumer key be generated for every user? if that is to be
 the case then when every user registers on one of your site, there has
 to be a consumer key/secret exchange between your site and the service
 provider. This can happen as well, but key/secret exchanges are
 generally a one time process and it would be insecure to perform this
 operation on every user registration. And secondly, it does not give
 any advantage. You already get all the security you need with your
 site acting as a single consumer.

 Where did you see this recommendation/implementation? can you please
 share the link because maybe I'm missing the motive behind it.

 Thanks,
 Monis

 On Dec 3, 9:04 pm, rob ganly robert.ga...@gmail.com wrote:
  hi guys,
 
  so i'm implementing oauth 1.0a (consumer and service) and have a hard-
  coded consumer_key and consumer_secret on the consumer side (in a
  config file).  i was envisioning having one pair for each consumer
  (i.e. individual site/ application) that is to use the service as i've
  seen before.
 
  however i've also seen it suggested/implemented that each individual
  user (even coming from the same consumer) use their own unique
  consumer key, despite having their own unique user credentials.
 
  in the consumer table i have, that i adapted from an example, each
  consumer has one user id associated with it, whereas i would've
  imagined the relationship between consumer and user to be one to many.
 
  any ideas/pointers/clarification gratefully received!
 
  best,
 
  rob ganly

 --

 You received this message because you are subscribed to the Google Groups
 OAuth group.
 To post to this group, send email to oa...@googlegroups.com.
 To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.




--

You received this message because you are subscribed to the Google Groups 
OAuth group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.




Re: [oauth] Getting user credentials

2009-12-03 Thread cahit Eyigünlü
Dim scope As String = 
http://www-opensocial.googleusercontent.com/api/people/;
Dim returnURL As String = http://www.file4share.net/Returns/Gmail.aspx;
Dim RequestFrom As String = 
http://www-opensocial.googleusercontent.com/api/people/@me/@self;


2009/12/4 mat...@gmail mat...@gmail.com

 can you send the OAuth scope parameter you send when getting request token?
 it might not be Portable Contact API's one.

 the scope list is here, though I couldn't find any info about portable
 contact API's scope on google's documents :(
 http://googlecodesamples.com/oauth_playground/

 On 2009/12/04, at 13:00, cahit Eyigünlü wrote:

  Sorry for second post sometimes also give this error :
  Failed to verify 3 legged OAuth request. Request was invalid.Invalid
 AuthSub token.
 
  but i use the Token that given on the last step :(
 
 
 
 
  04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com
 yazdı:
  I am at the end very thank you for your helps i saved my day with your
 helps
  one last thing to complete my operation i have an from :
 
  http://www-opensocial.googleusercontent.com/api/people/@me/@self
  OAuth Authentication FailureInvalid consumer key, no app specified :
 www.file4share.net
 
  but my application registered on :
 https://www.google.com/accounts/ManageDomain
  where could be the error do you have any idea?
 
 
 
 
  2009/12/4 mat...@gmail mat...@gmail.com
  You are probably using OAuth1.0.
  Google probably support oauth_callback only which is set when you set up
 your consumer.
 
  You need to send oauth_callback when you get request token if you want
 use OAuth1.0a.
  OAuth had changed the timing of sending oauth_callback and added
 oauth_verifier.
 
  Check this document for the details.
  http://oauth.net/core/1.0a
 
  I'm not sure your library support 1.0a though.
  If not, use default oauth_callback which you set when you set up your
 consumer, and don't send oauth_verifier.
 
  On 2009/12/04, at 11:32, cahit Eyigünlü wrote:
 
   I could not complete the third step when i try to get complete third
 step user is not comming back from the google if i use oauth_callback method
 user come back without oauth_verifier
  
   04 Aralık 2009 03:56 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
   I have found from your sended article
   could you please check if i have any mistake
  
   First request to :
   https://www.google.com/accounts/OAuthGetRequestToken
   with scope time_stamp Signature Consumer key
  
   Second Request to  redirecting user to :
   https://www.google.com/accounts/accounts/OAuthAuthorizeToken
   with
   oauth_tokenoauth_token_subsecret
  
   and finally:
   https://www.google.com/accounts/OAuthGetAccessToken
   i need to make a get to this url
  
   i tryed on play ground it worked and on my own software i completed
 first two steps to complete my software i need one last step
   what do i need to send to OAuthGetAccessToken get authTokken and i
 think this is for one time usage, is there any way to get  auth token for
  longer time oauth_token and oauth_token_secret
  
  
  
  
  
   2009/12/4 mat...@gmail mat...@gmail.com
   OAuth Auth token key?
   Do you mean consumer key? or access token?
  
   On 2009/12/04, at 10:27, cahit Eyigünlü wrote:
  
http://www-opensocial.googleusercontent.com/api/people/@me/@self
That is exactly what i am looking for but i could not see where would
 i use my oAuth Auth token key to get this info ...
   
2009/12/4 mat...@gmail mat...@gmail.com
Google has Portable Contacts API, a standardized way to get user
 profile info.
http://portablecontacts.net/draft-spec.html
   
 http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html
   
You can also get their external site accounts on Google Profile,
 using Social Graph API.
http://code.google.com/intl/en/apis/socialgraph/
   
Ident Engine is one of the easiest way to use Social Graph API.
http://identengine.com/index.htm
   
On 2009/12/04, at 8:24, File4Share wrote:
   
 How could i get the logged user info on google ? which scope do i
 need
 to use. I am able to getting token and auth token but i do not know
 how could i get credentials :(

 --

 You received this message because you are subscribed to the Google
 Groups OAuth group.
 To post to this group, send email to oa...@googlegroups.com.
 To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/oauth?hl=en.


   
--
   
You received this message because you are subscribed to the Google
 Groups OAuth group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to
 oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com.
For more options, visit this group at
 http

Re: [oauth] Getting user credentials

2009-12-03 Thread cahit Eyigünlü
I verified the domain and also i tryed the same on the localo but no way i
always get the same result




Dim item As New OAuth.OAuthBase
Dim returns
Dim ts = item.GenerateTimeStamp
Dim nonce = item.GenerateNonce
Dim Sign = item.GenerateSignature(New Uri(
http://www-opensocial.googleusercontent.com/api/people/@me/@self;),
consumerKey, consumerSecret, Session(Token2), Session(SecretToken2),
GET, ts, nonce, , returns)

do you think is this create the right signature ? do you have any idea with
vb ?


2009/12/4 mat...@gmail mat...@gmail.com

 The parameters seems OK.

 Then, it might be because your consumer's domain is not verified, or
 different with www.file4share.net.

 On 2009/12/04, at 13:20, cahit Eyigünlü wrote:

  With this information it is working on the google playground :( but i
 could not understand why it is telling me that
 
  04 Aralık 2009 06:20 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com
 yazdı:
 
  Dim scope As String = 
 http://www-opensocial.googleusercontent.com/api/people/;
  Dim returnURL As String = 
 http://www.file4share.net/Returns/Gmail.aspx;
  Dim RequestFrom As String = 
 http://www-opensocial.googleusercontent.com/api/people/@me/@self;
 
 
  2009/12/4 mat...@gmail mat...@gmail.com
  can you send the OAuth scope parameter you send when getting request
 token?
  it might not be Portable Contact API's one.
 
  the scope list is here, though I couldn't find any info about portable
 contact API's scope on google's documents :(
  http://googlecodesamples.com/oauth_playground/
 
  On 2009/12/04, at 13:00, cahit Eyigünlü wrote:
 
   Sorry for second post sometimes also give this error :
   Failed to verify 3 legged OAuth request. Request was invalid.Invalid
 AuthSub token.
  
   but i use the Token that given on the last step :(
  
  
  
  
   04 Aralık 2009 05:58 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
   I am at the end very thank you for your helps i saved my day with your
 helps
   one last thing to complete my operation i have an from :
  
   http://www-opensocial.googleusercontent.com/api/people/@me/@self
   OAuth Authentication FailureInvalid consumer key, no app specified :
 www.file4share.net
  
   but my application registered on :
 https://www.google.com/accounts/ManageDomain
   where could be the error do you have any idea?
  
  
  
  
   2009/12/4 mat...@gmail mat...@gmail.com
   You are probably using OAuth1.0.
   Google probably support oauth_callback only which is set when you set
 up your consumer.
  
   You need to send oauth_callback when you get request token if you want
 use OAuth1.0a.
   OAuth had changed the timing of sending oauth_callback and added
 oauth_verifier.
  
   Check this document for the details.
   http://oauth.net/core/1.0a
  
   I'm not sure your library support 1.0a though.
   If not, use default oauth_callback which you set when you set up your
 consumer, and don't send oauth_verifier.
  
   On 2009/12/04, at 11:32, cahit Eyigünlü wrote:
  
I could not complete the third step when i try to get complete third
 step user is not comming back from the google if i use oauth_callback method
 user come back without oauth_verifier
   
04 Aralık 2009 03:56 tarihinde cahit Eyigünlü 
 cahit.eyigu...@gmail.com yazdı:
I have found from your sended article
could you please check if i have any mistake
   
First request to :
https://www.google.com/accounts/OAuthGetRequestToken
with scope time_stamp Signature Consumer key
   
Second Request to  redirecting user to :
https://www.google.com/accounts/accounts/OAuthAuthorizeToken
with
oauth_tokenoauth_token_subsecret
   
and finally:
https://www.google.com/accounts/OAuthGetAccessToken
i need to make a get to this url
   
i tryed on play ground it worked and on my own software i completed
 first two steps to complete my software i need one last step
what do i need to send to OAuthGetAccessToken get authTokken and i
 think this is for one time usage, is there any way to get  auth token for
  longer time oauth_token and oauth_token_secret
   
   
   
   
   
2009/12/4 mat...@gmail mat...@gmail.com
OAuth Auth token key?
Do you mean consumer key? or access token?
   
On 2009/12/04, at 10:27, cahit Eyigünlü wrote:
   
 http://www-opensocial.googleusercontent.com/api/people/@me/@self
 That is exactly what i am looking for but i could not see where
 would i use my oAuth Auth token key to get this info ...

 2009/12/4 mat...@gmail mat...@gmail.com
 Google has Portable Contacts API, a standardized way to get user
 profile info.
 http://portablecontacts.net/draft-spec.html

 http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html

 You can also get their external site accounts on Google Profile,
 using Social Graph API.
 http://code.google.com/intl/en/apis/socialgraph/

 Ident Engine is one