Debian GNU/Linux

Felhasználonként elérhető/tiltott hálózat

Fórumok

Üdv mindenkinek!

Segítséget szeretnék kérni a következő problémám megoldásához:

Adott egy etch, dhcp-vel madwifi-vel van rajta hálózat és internet. (ath0).
Adott több "mezei" felhasználó.
Azt szeretném megoldani hogy a root beállíthassa egyenként ki az aki használhatja az ath0 eszközt és ki az aki nem. Tehát bizonyos embereknek tiltani szeretném az internet és a hálózat használatát.

Az ötleteket megoldásokat előre is köszönöm.

DMA

Fórumok

Helló!

Debiant telepítettem egy CF kártyát winchesterként kezelő gépre bebootol meg minden, csak a betöltődés közben kiírja, hogy hda: dma timer expiry dma_status_00x21 . És ezt irogatja folymatosan. Ez azért furcsa mert egy fél éve ugyanezen a gépen debian futott és ezzel egy percig nem volt semmi baja. A grubba hiába írom az ide=nodma vagy a hda=nodma parancsokat, tojik ő rá.

Mit tehetek?

Köszönöm a segítséget!

Etch kernel fordítás

Fórumok

Debian Etch alatt szeretnék kernelt fordítani. Akár a telepítőlemezen lévő 2.6.18 verzióval akár a most letöltött 2.6.22.3-al a make menuconfig utasitás kiadása után a következő hibaüzenetet kapom:

In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: Nincs ilyen fájl vagy könyvtár
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
scripts/kconfig/lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:194: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:199: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:201: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog/checklist.c:116: error: ‘WINDOW’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘dialog’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘list’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function ‘getmaxy’
scripts/kconfig/lxdialog/checklist.c:129: error: ‘stdscr’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: ‘KEY_MAX’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function ‘getmaxx’
scripts/kconfig/lxdialog/checklist.c:137: error: ‘COLS’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: ‘LINES’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit declaration of function ‘draw_shadow’
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of function ‘newwin’
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘keypad’
scripts/kconfig/lxdialog/checklist.c:143: error: ‘TRUE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘draw_box’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:147: warning: implicit declaration of function ‘wattrset’
scripts/kconfig/lxdialog/checklist.c:147: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘mvwaddch’
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘waddch’
scripts/kconfig/lxdialog/checklist.c:151: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:154: warning: implicit declaration of function ‘print_title’
scripts/kconfig/lxdialog/checklist.c:156: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:157: warning: implicit declaration of function ‘print_autowrap’
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of function ‘subwin’
scripts/kconfig/lxdialog/checklist.c:171: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:171: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:189: warning: implicit declaration of function ‘print_item’
scripts/kconfig/lxdialog/checklist.c:192: warning: implicit declaration of function ‘print_arrows’
scripts/kconfig/lxdialog/checklist.c:195: warning: implicit declaration of function ‘print_buttons’
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘wnoutrefresh’
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function ‘doupdate’
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ‘wgetch’
scripts/kconfig/lxdialog/checklist.c:210: error: ‘KEY_UP’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: ‘KEY_DOWN’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: ‘FALSE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of function ‘scrollok’
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function ‘wscrl’
scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of function ‘wrefresh’
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function ‘delwin’
scripts/kconfig/lxdialog/checklist.c:297: error: ‘KEY_LEFT’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: ‘KEY_RIGHT’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of function ‘on_key_esc’
scripts/kconfig/lxdialog/checklist.c:312: error: ‘KEY_RESIZE’ undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2

A libncurses5, ncurses fel vannak telepítve. Vmi 5let?

Amúgy a make xconfig, make gconfig parancsok sem müködnek...

menu.lst- vga=792 teljesen sötét képernyő

Fórumok

Sziasztok!

A problémám:

A /boot/grub/menu.lst fájlba a megfelelő részhez beraktam a vga=792 opciót, próbáltam már a vga=318 opciót is, de ezek ellenére nem 1024x768-as felbontásban jelennek meg az indítási üzenetek, hanem csak egy fekete képernyőt ad. De elindul a rendszer. Belépés után ha próbálok a ctrl+alt+F1-gyel konzolra váltani, akkor is egy fekete képernyőt kapok.

Én azt szeretném, hogy 1024x768-as felbontásban jelenjenek meg az üzenetek, illetve hogy ebben a felbontásban induljon a konzol.

A kernelben próbálkoztam már több opcióval is, de egyik sem segített eddig.

Ha vga=ask opciót adok a menu.lst-ben akkor felajánlja az elérhető módokat, de ezek elég "kicsik": 100x25, 80x25 stb. A scan hatására még felajánl három további módot, de azok sem azok amik nekem kellenének.

Egy két infó:



X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN 
Current Operating System: Linux hal9000 2.6.22.1-giskard #1 Wed Jul 25 16:07:46 CEST 2007 i686
Build Date: 04 September 2007

Debian etch
vanilla kernel


hal9000:/usr/src/linux# hwinfo --framebuffer
02: None 00.0: 11001 VESA Framebuffer                           
  [Created at bios.440]
  Unique ID: rdCR.oo3zFyM2xs0
  Hardware Class: framebuffer
  Model: "ATI RADEON 9600 PRO V350"
  Vendor: "ATI Technologies Inc."
  Device: "V350"
  SubVendor: "ATI RADEON 9600 PRO"
  SubDevice: 
  Revision: "01.00"
  Memory Size: 128 MB
  Memory Range: 0xe0000000-0xe7ffffff (rw)
  Mode 0x0382: 320x200 (+320), 8 bits
  Mode 0x030d: 320x200 (+640), 15 bits
  Mode 0x030e: 320x200 (+640), 16 bits
  Mode 0x030f: 320x200 (+960), 24 bits
  Mode 0x0320: 320x200 (+1280), 32 bits
  Mode 0x0392: 320x240 (+320), 8 bits
  Mode 0x0393: 320x240 (+640), 15 bits
  Mode 0x0394: 320x240 (+640), 16 bits
  Mode 0x0395: 320x240 (+960), 24 bits
  Mode 0x0396: 320x240 (+1280), 32 bits
  Mode 0x03a2: 400x300 (+400), 8 bits
  Mode 0x03a3: 400x300 (+800), 15 bits
  Mode 0x03a4: 400x300 (+800), 16 bits
  Mode 0x03a5: 400x300 (+1200), 24 bits
  Mode 0x03a6: 400x300 (+1600), 32 bits
  Mode 0x03b2: 512x384 (+512), 8 bits
  Mode 0x03b3: 512x384 (+1024), 15 bits
  Mode 0x03b4: 512x384 (+1024), 16 bits
  Mode 0x03b5: 512x384 (+1536), 24 bits
  Mode 0x03b6: 512x384 (+2048), 32 bits
  Mode 0x03c2: 640x350 (+640), 8 bits
  Mode 0x03c3: 640x350 (+1280), 15 bits
  Mode 0x03c4: 640x350 (+1280), 16 bits
  Mode 0x03c5: 640x350 (+1920), 24 bits
  Mode 0x03c6: 640x350 (+2560), 32 bits
  Mode 0x0300: 640x400 (+640), 8 bits
  Mode 0x0383: 640x400 (+1280), 15 bits
  Mode 0x0384: 640x400 (+1280), 16 bits
  Mode 0x0385: 640x400 (+1920), 24 bits
  Mode 0x0386: 640x400 (+2560), 32 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0310: 640x480 (+1280), 15 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+1920), 24 bits
  Mode 0x0321: 640x480 (+2560), 32 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x0313: 800x600 (+1600), 15 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+2400), 24 bits
  Mode 0x0322: 800x600 (+3200), 32 bits
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0316: 1024x768 (+2048), 15 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+3072), 24 bits
  Mode 0x0323: 1024x768 (+4096), 32 bits
  Mode 0x0307: 1280x1024 (+1280), 8 bits
  Mode 0x0319: 1280x1024 (+2560), 15 bits
  Mode 0x031a: 1280x1024 (+2560), 16 bits
  Mode 0x031b: 1280x1024 (+3840), 24 bits
  Mode 0x0324: 1280x1024 (+5120), 32 bits
  Config Status: cfg=new, avail=yes, need=no, active=unknown
hal9000:/usr/src/linux# 

Tehát a kérdesem az lenne, a kernel-ben mit kell beállítani, hogy elérhető legyen a vga=792-es "mód"?
Esetleg elérhető másképpen is az hogy a ctrl+alt+Fn konzolok 1024x768-as felbontásban jelenjenek meg?

Előre is köszi a segítséget.

Grub hiba (/dev/null/

Fórumok

Helló!

Grubot szeretnék telepíteni az sda eszközömre amine gy debian van és ezt a hibaüzenetet kapom:
root@1[knoppix]# chroot /media/sda1/
Knoppix:/# grub-install /dev/sda
You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install instead!

Searching for GRUB installation directory ... found: /boot/grub
/usr/sbin/grub-install: line 488: /dev/null: Permission denied
/usr/sbin/grub-install: line 490: /dev/null: Permission denied
/usr/sbin/grub-install: line 488: /dev/null: Permission denied
/usr/sbin/grub-install: line 490: /dev/null: Permission denied
/usr/sbin/grub-install: line 488: /dev/null: Permission denied
/usr/sbin/grub-install: line 490: /dev/null: Permission denied
/usr/sbin/grub-install: line 488: /dev/null: Permission denied
/usr/sbin/grub-install: line 490: /dev/null: Permission denied
/usr/sbin/grub-install: line 488: /dev/null: Permission denied
/usr/sbin/grub-install: line 490: /dev/null: Permission denied
The file /boot/grub/stage1 not read correctly.

Mit rontottam el?
Mit tehetek?

Működő rendszer többszörözése

Fórumok

Hali,

Tudna valaki felvilágosítást adni pár google kulcsszó formájában akár, hogy milyen nyomon
induljak el, ha az lenne a cél, hogy egy működő kubuntu-t szeretnék tegyük fel 5 másik méretében, típusában megegyező winchesterre "klónozni"?

Ilyen Ghostot említettek nekem, az megoldás lehet?

Előre is köszönöm
icee

sata vinyók ugrálnak sda és sdc között

Fórumok

Sziasztok.

Van egy gépem, amiben van egy SATA-s hdd alaplapra kötve és két másik egy fakeraid kártyán (ezeket dmraid-el használom).

A gondom az az, hogy bootoláskor időnként változnak a device-nevek: egyszer az alaplapi az sda és a kártyás az sdc, egyszer pedig fordítva.

Így lehetetlen normális fstabot írni rá.

Hogy tudnám kiküszöbölni, egyáltalán mi a rossebért változik meg?

ELőre is kösz
Greybear

VPN GRE (47) passthrough Debian Etch router segítségével lehetséges?

Fórumok

Sziasztok, a következő problémába ütköztem, lehet, hogy valaki tudja a választ.

Egy cégnél XPPro klienseknek kellene egy külső Microsoftos VPN szerverhez kapcsolódniuk. Az intenet elérés típusa: ADSL egy db publikus ip címmel, az XP kliensek egy Debian Etch routeren NAT-olt hálózaton érik el az internetet. Addig minden tökéletesen működik, amíg csak egy XP kliens indítja el a VPN kapcsolatot (PPTP), ez a
ip_nat_pptp
ip_conntrack_pptp
modulok betöltésével tökéletesen működik, a baj akkor kezdődik, amikor a következő kliens is fel akarja építeni a kapcsolatot, ez már nem megy neki, és az első felépített élő kapcsolat is meghal.

Olvastam a neten, hogy ilyen esetekre szükség lenne a
ip_conntrack_pptp
ip_conntrack_proto_gre
modulokra is, ezek azonban nem találhatók meg sem a gyári etch kernelben, sem a hivatalos debian kerneforrásban.

Olvastam azt is, hogy valami patch-o-matic patchelésre lenne szükség ezekhez, viszont egy másik oldalon ez állt:
> I have read that pptp-conntrack-nat patch does not work with kernels >
> 2.6.10. So I'd like to ask you if this is temporary? What can you
> advice me to solve this fault? Can I help to solve this problem?

2.6.14 has pptp conntrack/nat in mainline, so I recommend either using
2.6.14-rc3, or wait until 2.6.14 final is reelased.

Nekem meg 2.6.18 kernelem van, amihez ezek szerint már nem is létezik ez a pptp-conntrack-nat patch.

Szerintetek mi a teendő? Meg lehet ezt oldani egyáltalán, vagy kell valami hardveres VPN router?
Köszi!

Debian SID upgrade

Fórumok

Hello népek!

Érdekes dolgok történtek nálam a 25-én, mikor a SID-emet akartam upgradelni. fsn mirrorját használom, láttam h van új gnome.. eddig 18-as gnomeom volt, most feltette a 20-ast, nincs is ezzel semmi baj, de pl geditet lekapta, toetmet lekapta(nemkár érte:D), gimpnél összeakadt a postinst scriptje.. szóval voltak itt érdekes történések.. Vajon ez csak azér történt mert még nincs kész az új gimp fordítása és még nem került fel a magyar mirrorra, vagy vmi más gáz lesz?