Is it possible to use NSA325v2 as VPN server?

1235»

Comments

  • Mijzelf
    Mijzelf Posts: 2,790  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    Is it possible that the file hamcore.se2 is damaged? When I compare the logs of your chrooted execution with this one, it seems to crash on reading that file:
    open("/home/vpnserver/hamcore.se2", O_RDONLY|O_LARGEFILE) = 8
    read(8, "HamCore"..., 7)                = 7
    read(8, "\0\0\0'"..., 4)                = 4
    <snip>
    read(8, "\0\0\0&"..., 4)                = 4
    read(8, "\0\23\230\7"..., 4)            = 4
    open("/home/vpnserver/hamcore/languages.txt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    _llseek(8, 4487, [4487], SEEK_SET)      = 0
    read(8, "x\234MP_K\302P\24\177n\260\357p\300\227\202KmS\253\327\20\203BD\214\3127\271\314\353\356"..., 346) = 346
    open("/home/vpnserver/lang.config", O_RDONLY|O_LARGEFILE) = 9


    open("/e-data/e9902f35-4024-4b41-9626-08c2131c7087/vpnserver/hamcore.se2",O_RDONLY|O_LARGEFILE) = 8
    read(8, "HamCore", 7)                   = 7
    read(8, "\0\0\0'", 4)                   = 4
    <snip>
    read(8, "\0\0\0&", 4)                   = 4
    read(8, "\0\23\230\7", 4)               = 4
    open("/e-data/e9902f35-4024-4b41-9626-08c2131c7087/vpnserver/hamcore/languages.txt",O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
    _llseek(8, 4487, [4487], SEEK_SET)      = 0
    read(8, "x\234MP_K\302P\24\177n\260\357p\300\227\202KmS\253\327\20\203BD\214\3127\271\314\353"..., 346) = 346
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV (core dumped) +++



  • AleXSR700
    AleXSR700 Posts: 41  Freshman Member
    Thank god I made a backup of that folder :-D

    One additional question: right now I have those files on an external USB stick. If I were to copy all of those files to the /ffp/ folder, how much disk space would I have? Or is all this stored on the internal hdd?
  • Mijzelf
    Mijzelf Posts: 2,790  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    I don't understand the question. You know how much space is occupied on that USB stick, and you know how much disk space is left. How could I say what the effect of copying that file would be?
  • AleXSR700
    AleXSR700 Posts: 41  Freshman Member
    No, I meant: is there an internal memory in tha NAS apart from my HDDs where I could store the vpnserver?
    If it's on the USB stick, the program will stop working as soon as the USB stick starts acting up. If I copy it to the ffp folder, it will be stored on the primary HDD and will keep my HDD alive even though I am not using it (tmp files etc.).

    USB sticks are always error prone. They are cheap, but they are not reliable.
  • Mijzelf
    Mijzelf Posts: 2,790  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    Ah, I see.

    Well, the box has an internal flash partition where the config is stored. It's not big, something like 4MB, and I wouldn't store a significant amount of data there. And especially no logs, or other volatile data. If the flash wears out you can bin your NAS.

    In your case you could copy everything to a ramdrive, before starting it. The box has 512MB ram, and in most cases it doesn't use half of it. Don't know how big the package is? 8MB?

Consumer Product Help Center