View previous topic :: View next topic |
Author |
Message |
TheSmallOne Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/9530026574235783cdafc4.gif)
Joined: 22 Jan 2005 Posts: 467 Location: Germany
|
Posted: Thu Mar 17, 2005 3:25 pm Post subject: |
|
|
-–- gelöscht -–-
Last edited by TheSmallOne on Tue Dec 25, 2012 10:42 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sandro n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Aug 2002 Posts: 55
|
Posted: Thu Mar 17, 2005 9:32 pm Post subject: |
|
|
slick wrote: | Hat jemand eine Idee wie ich IPCop in der uml installiere ohne das image von der ct zu haben? Oder kann die uml irgendwie von dem offiziellen IPCop iso-image booten um dann von der zu installieren? Gibt es irgendwo eine Liste was dann in den (uml) Kernel muß? Die IPCop homepage schweigt sich da leider etwas aus... | Keine Ahnung... Aber auf Heise stand heute etwas über ein IPCop-Update, für das man auch ein Kernelupdate für UMLIPcop online stellen möchte. Vielleicht lässt sich daraus was machen.
Quote: | @ Sandro, welche Patches und Kernel hast Du benutzt das es nach 14 Tagen hing? Läufts jetzt stabiler? | Wie im HowTo erwähnt 2.4.28 mit host-skas3-2.4.25-v3 Patch. Bis jetzt läuft er, wobei die 14 Tage noch nicht rum sind...
Quote: | a) kann man als Netzwerkkarte auch eine Fritz DSL durchreichen | AFAIK kann vom UML IPCop aus nur DSL per PPPoE nutzen. Ich kenne mich mit Fritz DSL nicht aus, aber ich fürchte beinahe, dass das etwas eigenes benutzt...
Quote: | b) kann man auch eine echte WLAN Karte and die UML Maschine durchreichen? | Müsste gehen, sofern das WLAN am host geht.
Quote: | Also der Host-Kernel ist 2.6.10 mit SKAS3-v7 patch und der UML-Kernel ist 2.6.10...
Und das fährt ganz normal runter wenn es soll... obwohl es meistens nicht soll. | Hört sich gut an! Danke für den Hinweis, dann werde ich wohl demnächst auch mal mit 2.6 experimentieren... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ank666 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 12 May 2004 Posts: 319 Location: CO/BY/DE
|
Posted: Thu Mar 17, 2005 10:06 pm Post subject: |
|
|
Hmm, da schein ich das ja schon mal richtig gemacht zu haben
ohne vorher danach zu suchen...
Quote: | uname -a
Linux Crunsher 2.6.10-gentoo-r6-skas3-v8-rc2 #7 Thu Mar 10 22:36:01 CET 2005 i686 Intel(R) Celeron(TM) CPU |
Bin aber jetzt mal gespannt wie das mit dem IPCop Update so klappt,
lt. Heise kommt für den UML Cop bald ein Update, hoffentlich können wir Gentoo'er das auch installieren.
http://www.heise.de/newsticker/meldung/57655 _________________ Auf der Verpackung stand benötigt Windows 9x/2000/XP oder BESSER, deshalb hab ich Linux installiert |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
muttijay n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Mar 2005 Posts: 32 Location: 13.42 E 52.53 N
|
Posted: Mon Mar 21, 2005 3:49 pm Post subject: |
|
|
hat das ganze schonmal wer mit einem athlon64 gemacht
in den posts bis dato hat noch keiner etas in der richtung erwähnt ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ank666 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 12 May 2004 Posts: 319 Location: CO/BY/DE
|
Posted: Fri Mar 25, 2005 3:37 pm Post subject: |
|
|
Ohh Man, ich hab fast den ganzen Tag versucht den UML IPCop ans Laufen zu bekommen,
doch leider absolut kein Erfolg,
Wenn ich mit "/home/ipcop/linux umid=ipcop mem=20M ubd0=/home/ipcop/ipcop.img ubd1=/home/ipcop/ipcoplog.img devfs=mount con=pts eth0=tuntap,tap0 eth1=tuntap,tap1 eth2=tuntap,tap2" starte:
Code: | Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
Checking PROT_EXEC mmap in /tmp...OK
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Linux version 2.4.27-1um (root@vdrbuild.siering.org) (gcc version 2.95.3 20010315 (release)) #1 Fri Jan 14 14:07:29 GMT 2005
On node 0 totalpages: 5120
zone(0): 5120 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=20M ubd0=/home/ipcop/ipcop.img ubd1=/home/ipcop/ipcoplog.img devfs=mount con=pts eth0=tuntap,tap0 eth1=tuntap,tap1 eth2=tuntap,tap2 root=/dev/ubd0
Calibrating delay loop... 1510.60 BogoMIPS
Memory: 18136k available
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...<0>Kernel panic: check_ptrace : expected SIGTRAP, got status = 256
In idle task - not syncing |
Als Host-Kernel hab ich die Gentoo-Dev-Sources, 2.6.10-r6 mit Skas-2.6.10-v8-rc2 Patch laufen.
Kann mir bitte jemand helfen?
@lordNrXyZ
Scheint mir das gleiche Problem wie bei dir zu sein,
hast du inzwischen schon eine Lösung gefunden _________________ Auf der Verpackung stand benötigt Windows 9x/2000/XP oder BESSER, deshalb hab ich Linux installiert |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moe Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 28 Mar 2003 Posts: 1289 Location: Potsdam / Germany
|
Posted: Sun Apr 03, 2005 4:44 pm Post subject: |
|
|
Heise bietet den Server inzwischen zum Download an, vielleichts hilfst jmd..
Gruss Maurice |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ank666 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 12 May 2004 Posts: 319 Location: CO/BY/DE
|
Posted: Mon Apr 04, 2005 2:25 pm Post subject: |
|
|
Also für mich sieht es so aus als ob der "Fehler" am c't UML Kernel liegt,
hab mit einem anderen getestet Kernel 2.4.26 (Download irgendwo auf dem Ubuntu Server),
der bootet zwar funktioniert aber trotzdem noch nicht da er sich jetzt immer beschwert
das er modules.dep nicht finden/laden kann. _________________ Auf der Verpackung stand benötigt Windows 9x/2000/XP oder BESSER, deshalb hab ich Linux installiert |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slick Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/155298905545589d9986ab5.gif)
Joined: 20 Apr 2003 Posts: 3495
|
Posted: Fri Nov 25, 2005 6:26 pm Post subject: |
|
|
Wollte den Thread nochmal rauskramen, da ich momentan auch wiedermal mit UML rumspiele.
Also die aktuellen sys-kernel/gentoo-sources-2.6.14-r2 in Verbindung mit dem Patch skas-2.6.14-v8.2.patch.bz2 von hier laufen bisher sehr stabil. Der Kernel mit dem Patch wird hierbei für Host und Client verwendet. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jani80k n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Aug 2003 Posts: 40
|
Posted: Tue Jan 03, 2006 5:33 pm Post subject: |
|
|
weiss jemand, woran es liegen kann, dass sich der umlipcop nich per pppoe einwaehlen kann´?
Code: | Jan 3 18:47:48 ipcop pppd[6093]: pppd 2.4.2 started by root, uid 0
Jan 3 18:47:48 ipcop pppd[6093]: PADS: Service-Name: ''
Jan 3 18:47:48 ipcop pppd[6093]: PPP session is 352
Jan 3 18:47:48 ipcop pppd[6093]: using channel 30
Jan 3 18:47:48 ipcop pppd[6093]: Using interface ppp0
Jan 3 18:47:48 ipcop pppd[6093]: Connect: ppp0 <--> eth1
Jan 3 18:47:48 ipcop pppd[6093]: Couldn't increase MTU to 1500
Jan 3 18:47:48 ipcop pppd[6093]: Couldn't increase MRU to 1500
Jan 3 18:47:48 ipcop pppd[6093]: sent [LCP ConfReq id=0x1 <magic 0xd706a162>]
Jan 3 18:47:48 ipcop pppd[6093]: rcvd [LCP ConfReq id=0x37 <mru 1492> <auth chap MD5> <magic 0x13d73b82>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Jan 3 18:47:48 ipcop pppd[6093]: No auth is possible
Jan 3 18:47:48 ipcop pppd[6093]: sent [LCP ConfRej id=0x37 <auth chap MD5>]
Jan 3 18:47:48 ipcop pppd[6093]: rcvd [LCP ConfAck id=0x1 <magic 0xd706a162>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Jan 3 18:47:48 ipcop pppd[6093]: rcvd [LCP ConfReq id=0x38 <mru 1492> <auth pap> <magic 0x13d73b82>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Jan 3 18:47:48 ipcop pppd[6093]: No auth is possible
Jan 3 18:47:48 ipcop pppd[6093]: sent [LCP ConfRej id=0x38 <auth pap>]
Jan 3 18:47:48 ipcop pppd[6093]: rcvd [LCP ConfReq id=0x39 <mru 1492> <magic 0x13d73b82>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Jan 3 18:47:48 ipcop pppd[6093]: sent [LCP ConfAck id=0x39 <mru 1492> <magic 0x13d73b82>]
Jan 3 18:47:48 ipcop pppd[6093]: Couldn't increase MRU to 1500
Jan 3 18:47:48 ipcop pppd[6093]: sent [LCP EchoReq id=0x0 magic=0xd706a162]
Jan 3 18:47:48 ipcop pppd[6093]: peer from calling number 00:30:88:01:7F:3B authorized
Jan 3 18:47:48 ipcop pppd[6093]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Jan 3 18:47:48 ipcop pppd[6093]: rcvd [LCP TermReq id=0x3a] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
Jan 3 18:47:48 ipcop pppd[6093]: LCP terminated by peer
Jan 3 18:47:48 ipcop pppd[6093]: Couldn't increase MTU to 1500
Jan 3 18:47:48 ipcop pppd[6093]: Couldn't increase MRU to 1500
Jan 3 18:47:48 ipcop pppd[6093]: sent [LCP TermAck id=0x3a]
Jan 3 18:47:51 ipcop pppd[6093]: Connection terminated.
Jan 3 18:47:51 ipcop pppd[6093]: Exit.
|
_________________ ...Linux is for free, if your time has no value. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starlight77 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Feb 2006 Posts: 5
|
Posted: Thu Feb 09, 2006 7:16 pm Post subject: |
|
|
Hallo!
Habe auch versucht, nach der Anleitung von Sandro die Ipcop-Uml zu bauen. Hab nur ein kleines Problem: Wenn ich mit emerge bridge-utils die Brigde Tools installiere, habe ich unter /etc/conf.d/ keine bridge datei. Auch im /etc/init.d/ ist nix. Hab das Paket auch schon neu installiert. Keine Änderung....
Was mache ich falsch??
Gruss
Star |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slick Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/155298905545589d9986ab5.gif)
Joined: 20 Apr 2003 Posts: 3495
|
Posted: Thu Feb 09, 2006 9:30 pm Post subject: |
|
|
Willkommen im Forum.
Die Bridge wird in /etc/conf.d/net konfiguriert und /etc/init.d/br0 ist nur ein Symlink auf /etc/init.d/lo
/etc/conf.d/net.example wrote: | # Bridging (802.1d)
# For bridging support emerge net-misc/bridge-utils
# To add ports to bridge br0
#bridge_br0="eth0 eth1"
# You need to configure the ports to null values so dhcp does not get started
#config_eth0=( "null" )
#config_eth1=( "null" )
# Finally give the bridge an address - dhcp or a static IP
#config_br0=( "dhcp" )
#config_br0=( "192.168.0.1/24" )
# If any of the ports require extra configuration - for example wireless or
# ppp devices - we need to write a depend function for the bridge so they get
# configured correctly.
# This is exactly the same as a depend() function in our init scripts
#depend_br0() {
# need net.eth0 net.eth1
#}
# NOTE: This creates an interface called br0 - you can give the interface
# any name you like
# Below is an example of configuring the bridge
# Consult "man brctl" for more details
#brctl_br0=( "setfd 0" "sethello 0" "stp off" ) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Robmaster Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 09 Dec 2005 Posts: 110 Location: Berlin
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slick Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/155298905545589d9986ab5.gif)
Joined: 20 Apr 2003 Posts: 3495
|
Posted: Fri Feb 10, 2006 6:51 am Post subject: |
|
|
Ich verstehe Deine Frage nicht ganz. Das eine UML nur eine virtuelle Maschine ist auf der "jedes" beliebige Linux laufen kann ist klar nehme ich an, also kannst Du die Software darin natürlich beliebig manipulieren. Meist wird es sowieso Sinn machen individuell angepaßte Distributionen einzusetzen, denn c`t richtet sich mit den fertigen Images mit IPCop etc. wohl eher an weniger erfahrenen Benutzer. Eine Variante für UML wäre auch ein uclibc-basiertes Gentoo, schön klein und flexibel.
Wenn Du jetzt allerdings auf spezielle Konfigurationen von IPCop abzielst sei auf die IPCop Seiten verwiesen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starlight77 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Feb 2006 Posts: 5
|
Posted: Fri Feb 10, 2006 12:14 pm Post subject: |
|
|
slick wrote: | Willkommen im Forum.
Die Bridge wird in /etc/conf.d/net konfiguriert und /etc/init.d/br0 ist nur ein Symlink auf /etc/init.d/lo
|
Vielen Dank für die rasche Antwort. Da hätte ich mich ja zu Tode suchen können....
Werde das mal testen.
Gruss
Star |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Robmaster Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 09 Dec 2005 Posts: 110 Location: Berlin
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slick Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/155298905545589d9986ab5.gif)
Joined: 20 Apr 2003 Posts: 3495
|
Posted: Fri Feb 10, 2006 3:43 pm Post subject: |
|
|
Hmm.. keine Ahnung was der Patch bewirken soll. Ich _vermute_ der ist nur für den c`t-Server passend. Falls Du Dir einen eigenen UML-Kernel gebaut hast wirst das _schätze_ nicht brauchen. Wäre vielleicht ganz gut zu erklären was Du bisher laufen hast und/oder da im Forum nachfragen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starlight77 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Feb 2006 Posts: 5
|
Posted: Fri Feb 10, 2006 4:03 pm Post subject: |
|
|
Hallo!
Hab meinen UML-IPcop nun halbwegs laufen. Ich kann von LAN aus auf die GUI des Cops und Ping etc. geht auch. Die Einwahl ins Internet geht allerdings nicht. Im Log seht quasi das selbe, wie bei Jani80k. Wollte nun mal das Lan an eth1 hängen und testen, ob ich aus der UML überhaupt ins LAN komme. Leider bin ich irgendwie zu doof, das root Passwort für die UML zu setzen, so dass ich mit SSH drauf komme. Wie mache ich das? Mit passwd setze ich ja nur das vom Host, oder?
Gruss
Star |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slick Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/155298905545589d9986ab5.gif)
Joined: 20 Apr 2003 Posts: 3495
|
Posted: Fri Feb 10, 2006 4:12 pm Post subject: |
|
|
Starlight77 wrote: | [...], das root Passwort für die UML zu setzen, so dass ich mit SSH drauf komme. Wie mache ich das? Mit passwd setze ich ja nur das vom Host, oder? |
- UML stoppen
- Image mit loop mounten, mount -o loop /ipcop.image /mnt
- chrooten, chroot /mnt
- passwd
- logout
- umount /mnt
- UML starten |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starlight77 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Feb 2006 Posts: 5
|
Posted: Fri Feb 10, 2006 4:18 pm Post subject: |
|
|
Besten Dank. Funktioniert!
PS: Ein grosses Log an dieser Stelle an die Gentoo Jungs. Ihr seid echt auf Draht!
Gruss
Star |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starlight77 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Feb 2006 Posts: 5
|
Posted: Tue Feb 14, 2006 2:48 pm Post subject: |
|
|
Ich bins nochmal.
Habe scheinbar immer noch ein Problem mit dem Bridging. Das folgende Skript startet meine UML und legt die Brücken fest:
Code: |
#!/bin/bash
#IPs loeschen
ifconfig eth0 0.0.0.0 promisc up
ifconfig eth1 0.0.0.0 promisc up
ifconfig wlan0 0.0.0.0 promisc up
# Netzwerkbruecken erstellen
brctl addbr br0 #LAN
brctl setfd br0 1
brctl sethello br0 1
brctl stp br0 on
brctl addbr br1 #ADSL
brctl setfd br1 1
brctl sethello br1 1
brctl stp br1 on
brctl addbr br2 #WLAN
brctl setfd br2 1
brctl sethello br2 1
brctl stp br2 on
#IPs zuweisen
ifconfig br0 192.168.1.2 netmask 255.255.255.0 up #LAN
ifconfig br1 up #ADSL
ifconfig br2 up #WLAN
#Host Interfaces mit Bruecke verbinden
brctl addif br0 eth0
brctl addif br1 eth1
brctl addif br2 wlan0
#TUN/TAP Devices erzeugen
tunctl -u ipcop -t tap0
tunctl -u ipcop -t tap1
tunctl -u ipcop -t tap2
ifconfig tap0 0.0.0.0 promisc up
ifconfig tap1 0.0.0.0 promisc up
ifconfig tap2 0.0.0.0 promisc up
#TUN/TAB Devies mit Bruecke verbinden
brctl addif br0 tap0
brctl addif br1 tap1
brctl addif br2 tap2
#UML starten
/home/ipcop/linux umid=ipcop mem=32M ubd0=/home/ipcop/ipcop.img ubd1=/home/ipcop/ipcoplog.img con=pts eth0=tuntap,tap0 eth1=tuntap,tap1 eth2=tuntap,tap2
|
Damit komme ich über das LAN auf den IPCop und auch ein ping vom Cop ins LAN geht. Nur klappt die Einwahl über den IPCop nicht. Auf dem Host System komme ich jedoch mit dem rp-pppoe über eth1 wunderbar rein.
Hat einer ne Idee, was hier noch falsch sein könnte?
Gruss
Star |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|