Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need help getting ATI rage 128 working [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Wed Mar 28, 2007 4:47 pm    Post subject: need help getting ATI rage 128 working [SOLVED] Reply with quote

been reading and searching and cannot get this older ATI card to work,

lspci:
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/SG AGP

lsmod:

Module Size Used by
fglrx 433424 0
rtc 7988 0
serio_raw 4484 0
piix 6788 0 [permanent]
intel_agp 16284 1
agpgart 17616 2 fglrx,intel_agp
uhci_hcd 16392 0
i2c_piix4 6028 0
i2c_core 11152 1 i2c_piix4
usbcore 81668 2 uhci_hcd

make.conf:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="fbdev vesa vga ati r128"
USE="madwifi opengl"

xorg.conf snip:
Section "Device"

#VideoRam 16384
#Insert Clocks lines here if appropriate
Identifier "** ATI Rage 128 based (generic) [r128]"
Driver "r128"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "UseInternalAGPGART" "no"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "** ATI Rage 128 based (generic) [r128]"
Monitor "samtron96b"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

xorg log snip:
(II) Primary Device is: PCI 01:00:0
(II) ATI Proprietary Linux Driver Version Identifier:8.32.5
(II) ATI Proprietary Linux Driver Release Identifier: LGDr8.32g1
(II) ATI Proprietary Linux Driver Build Date: Dec 12 2006 17:18:27
(II) ATI Proprietary Linux Driver Build Information: autobuild-rel-r6-8.32.2.1.2.3-driver-lnx-x86-x86_64-313294
(--) Assigning device section with no busID to primary device
(EE) No devices detected.

Fatal server error:
no screens found

when i try emerge xorg-x11 it does not recompile and i get:

>>> Emerging (1 of 1) x11-base/xorg-x11-7.1 to /
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-base/xorg-x11-7.1 ...
>>> Source compiled.
>>> Test phase [not enabled]: x11-base/xorg-x11-7.1

>>> Install xorg-x11-7.1 into /var/tmp/portage/x11-base/xorg-x11-7.1/image/ category x11-base
>>> Completed installing xorg-x11-7.1 into /var/tmp/portage/x11-base/xorg-x11-7.1/image/

>>> Merging x11-base/xorg-x11-7.1 to /
--- /usr/
>>> /usr/X11R6 -> ../usr
--- /etc/
--- /etc/X11/
>>> /etc/X11/xorg.conf
>>> Safely unmerging already-installed instance...
--- !mtime sym /usr/X11R6
--- !mtime obj /etc/X11/xorg.conf
--- !empty dir /usr
--- !empty dir /etc/X11
--- !empty dir /etc
>>> Original instance of package unmerged safely.

X11 # ls -l /usr/lib/xorg/modules/drivers
total 8788
-rwxr-xr-x 1 root root 18908 Feb 26 16:16 fbdev_drv.so
-rwxr-xr-x 1 root root 8353829 Mar 27 22:12 fglrx_drv.so
-rwxr-xr-x 1 root root 557200 Feb 26 16:12 sis_drv.so
-rwxr-xr-x 1 root root 23032 Feb 26 15:52 vesa_drv.so
-rwxr-xr-x 1 root root 18968 Feb 26 15:56 vga_drv.so

the sis_drv.so is from an old emerge of xorg-x11 and no ati or r128 drivers

so how do i get xorg-x11 to recompile using my new make.conf settings and build the ati drivers?

thank you in advance for any help,
lance


Last edited by digitall2000 on Tue Apr 10, 2007 6:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Mar 28, 2007 5:00 pm    Post subject: Reply with quote

emerge -pNv xorg-x11
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Wed Mar 28, 2007 5:32 pm    Post subject: Reply with quote

well i get:

qMan ~ # emerge -pNv xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Wed Mar 28, 2007 6:15 pm    Post subject: Reply with quote

so going by the modular x guide when i:
# emerge --verbose --pretend xorg-x11

i should get:
[ebuild R ] x11-base/xorg-x11-7.0-r1 USE="-xprint" INPUT_DEVICES="keyboard
mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300
-elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch
-microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics% -tek4957
-ur98 -vmmouse -void" VIDEO_CARDS="i128 mga radeon savage -apm -ark -chips
-cirrus -cyrix -dummy -fbdev -fglrx% -glint -i740 -i810 -imstt -mach64 -neomagic
-newport -nsc -nv -nvidia% -r128 -rendition -s3 -s3virge -siliconmotion -sis
-sisusb -sunbw2 -suncg14 -suncg3 -suncg6 -sunffb -sunleo -suntcx -tdfx -tga
-trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0 kB

this is what i get:
qMan X11 # emerge --verbose --pretend xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] x11-base/xorg-x11-7.1 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

no USE flags no nodda, any ideas anyone?

thanks,
lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Wed Mar 28, 2007 6:18 pm    Post subject: Reply with quote

You need to emerge xorg-server, this is the one that uses all the VIDEO_CARDS and INPUT_DEVICES USE flags.

You can see by
Code:
equery uses xorg-server

You can also find out which package is responsible for the video drivers by
Code:
equery belongs /usr/lib/xorg/modules/drivers/vesa_drv.so
Unfortunately this only works if you have the package installed.

However, xorg-server should pull in all the dependent video drivers, you can check by running
Code:
emerge -auv x11-base/xorg-server
and you should get
Code:
[ebuild  N    ] x11-drivers/xf86-video-vga-4.1.0  USE="-debug" 229 kB
[ebuild   R   ] x11-drivers/xf86-input-mouse-1.1.1  USE="-debug" 0 kB
[ebuild   R   ] x11-drivers/xf86-video-vesa-1.2.1  USE="-debug" 0 kB
[ebuild   R   ] x11-drivers/xf86-video-fbdev-0.3.0  USE="-debug" 0 kB
[ebuild  N    ] x11-drivers/xf86-video-ati-6.6.3  USE="dri -debug" 707 kB
[ebuild   R   ] x11-drivers/xf86-input-keyboard-1.1.0  USE="-debug" 0 kB
There doesn't appear to be an "ati" flag any longer, it's probably the same as "r128".
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Wed Mar 28, 2007 6:25 pm    Post subject: Reply with quote

wynn,

i get this:
qMan X11 # equery uses xorg-server
[ Searching for packages matching xorg-server... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-base/xorg-server-1.1.1-r4 ]
U I
- - 3dfx : Adds support for 3dfx video cards to XFree86. See: voodoo3
- - aiglx : Includes extra AIGLX patches that allow compiz to function
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .
- - dmx : Build the Distributed Multiheaded X server
+ + dri : Enable direct rendering: used for accelerated 3D and some 2D, like DMA
- - input_devices_acecad : <unknown>
- - input_devices_aiptek : <unknown>
- - input_devices_calcomp : <unknown>
- - input_devices_citron : <unknown>
- - input_devices_digitaledge : <unknown>
- - input_devices_dmc : <unknown>
- - input_devices_dynapro : <unknown>
- - input_devices_elo2300 : <unknown>
- - input_devices_elographics : <unknown>
- - input_devices_evdev : <unknown>
- - input_devices_fpit : <unknown>
- - input_devices_hyperpen : <unknown>
- - input_devices_jamstudio : <unknown>
- - input_devices_joystick : <unknown>
+ + input_devices_keyboard : <unknown>
- - input_devices_magellan : <unknown>
- - input_devices_microtouch : <unknown>
+ + input_devices_mouse : <unknown>
- - input_devices_mutouch : <unknown>
- - input_devices_palmax : <unknown>
- - input_devices_penmount : <unknown>
- - input_devices_spaceorb : <unknown>
- - input_devices_summa : <unknown>
- - input_devices_synaptics : <unknown>
- - input_devices_tek4957 : <unknown>
- - input_devices_ur98 : <unknown>
- - input_devices_vmmouse : <unknown>
- - input_devices_void : <unknown>
- - input_devices_wacom : <unknown>
+ + ipv6 : Adds support for IP version 6
- - kdrive : Build the kdrive X servers
- - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
+ + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
- - sdl : Adds support for Simple Direct Layer (media library)
- - video_cards_apm : <unknown>
- - video_cards_ark : <unknown>
- - video_cards_chips : <unknown>
- - video_cards_cirrus : <unknown>
- - video_cards_cyrix : <unknown>
- - video_cards_dummy : <unknown>
- - video_cards_epson : <unknown>
+ + video_cards_fbdev : <unknown>
- - video_cards_fglrx : <unknown>
- - video_cards_glint : <unknown>
- - video_cards_i128 : <unknown>
- - video_cards_i740 : <unknown>
- - video_cards_i810 : <unknown>
- - video_cards_impact : <unknown>
- - video_cards_imstt : <unknown>
- - video_cards_mach64 : <unknown>
- - video_cards_mga : <unknown>
- - video_cards_neomagic : <unknown>
- - video_cards_newport : <unknown>
- - video_cards_nsc : <unknown>
- - video_cards_nv : <unknown>
- - video_cards_nvidia : <unknown>
+ - video_cards_r128 : <unknown>
+ - video_cards_radeon : <unknown>
- - video_cards_rendition : <unknown>
- - video_cards_s3 : <unknown>
- - video_cards_s3virge : <unknown>
- - video_cards_savage : <unknown>
- - video_cards_siliconmotion : <unknown>
- + video_cards_sis : <unknown>
- - video_cards_sisusb : <unknown>
- - video_cards_sunbw2 : <unknown>
- - video_cards_suncg14 : <unknown>
- - video_cards_suncg3 : <unknown>
- - video_cards_suncg6 : <unknown>
- - video_cards_sunffb : <unknown>
- - video_cards_sunleo : <unknown>
- - video_cards_suntcx : <unknown>
- - video_cards_tdfx : <unknown>
- - video_cards_tga : <unknown>
- - video_cards_trident : <unknown>
- - video_cards_tseng : <unknown>
- - video_cards_v4l : <unknown>
+ + video_cards_vesa : <unknown>
+ + video_cards_vga : <unknown>
- - video_cards_via : <unknown>
- - video_cards_vmware : <unknown>
- - video_cards_voodoo : <unknown>
+ + xorg : Build the Xorg X server (HIGHLY RECOMMENDED)
- - xprint : Support for xprint, http://www.mozilla.org/projects/xprint/

then this:
qMan X11 # emerge -auv x11-base/xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; would you like to auto-clean packages? [Yes/No] n

Quitting.

yikes lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Wed Mar 28, 2007 7:11 pm    Post subject: Reply with quote

Sorry, my mistake: you are asking it to update xorg-xserver ("-auv" -> "--ask", "--update" and "--verbose") and you already have the latest version.

Just run
Code:
emerge -av x11-base/xorg-server

_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Wed Mar 28, 2007 9:01 pm    Post subject: Reply with quote

still getting this error when i "startx" <i hate ati>

(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(EE) No devices detected.

Fatal server error:
no screens found

the only (EE) in my log

lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Thu Mar 29, 2007 8:03 am    Post subject: Reply with quote

Thoughtful of you to post just what you thought were the relevant bits but I think it's going to need the whole Xorg.0.log. Could you nopaste it?

I don't think it's ATI's fault: first of all, the radeon driver is open source and second, NeddySeagoon (Xorg: screens found but not usable:no screens found[SOLVED] for instance) recommends starting with the vesa driver and only changing to a device specific driver when that is working.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Thu Mar 29, 2007 7:43 pm    Post subject: Reply with quote

hi wynn,

i got x working

recompiled x-server even though i never got any verbose or use flags from -pv
it did a total recompile but still would not start even with env-update and source /etc/proffile

so i rebooted and x started working.

but now i cannot get the netgear WG311 installed
if i put it in the box the thing won't boot not even the first beep to the bios screen

thanks for your help
lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Thu Mar 29, 2007 8:10 pm    Post subject: Reply with quote

As far as I know, plugging in a card shouldn't stop the BIOS working unless the card is faulty.

You could try it in another box and see if it has the same effect.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Thu Mar 29, 2007 8:31 pm    Post subject: Reply with quote

Code:
echo VIDEO_CARDS="mach64" >> /etc/make.conf
emerge -avN1 xorg-server
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Thu Mar 29, 2007 8:52 pm    Post subject: Reply with quote

wynn,

the card until yesterday was working in the AMD

could have died, but i will try to plug it back in another box

lance
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Thu Mar 29, 2007 10:58 pm    Post subject: Reply with quote

well i plugged the netgear WG311 into my other PIII and it boots fine and l
gentoo recognizes it with lspci

the only thing i can think of is, though the new(?) PIII is suppose to be PCI 2.2
it actually is not

lance
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Sat Mar 31, 2007 12:25 am    Post subject: Reply with quote

hi wynn,

another piece of advise please
on the box that is using at 128 rage

in console mode the display is shifted about 1/2" to the right
do you know a way i can jog the display back to the left?

thank you,
lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Mar 31, 2007 9:45 am    Post subject: Reply with quote

digitall2000 wrote:
hi wynn,

another piece of advise please
on the box that is using at 128 rage

in console mode the display is shifted about 1/2" to the right
do you know a way i can jog the display back to the left?

thank you,
lance
If you have the correct HorizSync and VertRefresh for the monitor, then it can only be done with modelines.

If this is the samtron96b monitor, Googling for samtron96b gives http://www.kundp.de/Monitore/Samsung/Samtron96B.htm which says HorizSync is 30-85 kHz, VertRefresh is 50-160 Hz, the recommended resolution is 1024 x 768 / 104 Hz and the maximum resolution is 1280 x 1024 / 79Hz.

For modelines see http://xtiming.sourceforge.net/cgi-bin/xtiming.pl but, as well as HorizSync and VertRefresh, you need to know the Rage128's maximum dot clock (this may be in Xorg.0.log).
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Sat Mar 31, 2007 6:55 pm    Post subject: Reply with quote

thanks wynn

just where does this mode line go any way?

lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Mar 31, 2007 7:11 pm    Post subject: Reply with quote

digitall2000 wrote:
just where does this mode line go any way?
From /etc/X11/xorg.conf.example
Code:
Section "Monitor"
...
# Modes can be specified in two formats.  A compact one-line format, or
# a multi-line format.

# A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
# These two are equivalent

#    ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525

    Mode "640x480"
        DotClock        25.175
        HTimings        640 664 760 800
        VTimings        480 491 493 525
    EndMode
...
EndSection
I didn't know that there was an xorg.conf.example: it has a lot of helpful things in it.

It also points to xvidtune in x11-apps/xvidtune which may be what you want to move the screen across. I've not got it nor have I used it.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Sat Mar 31, 2007 7:20 pm    Post subject: Reply with quote

thanks i'll look at that

is there a way to tell how much memory is on the video board?

lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Mar 31, 2007 7:22 pm    Post subject: Reply with quote

digitall2000 wrote:
is there a way to tell how much memory is on the video board?
Xorg.0.log may be able to get it from the board, otherwise you have to go by what's on the box.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Sat Mar 31, 2007 8:04 pm    Post subject: Reply with quote

thanks again ever so much wynn,

the mode line fixed my offset
and the mem was set but commented out in the ati section
just took out the comment works good

this is just for my firewall/router/gateway so i am just running X
no need to be fancy

thank you again,
lance
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Sun Apr 01, 2007 4:51 am    Post subject: Reply with quote

wynn,
what would you suggest to be the best way to clone a drive in gentoo?
the main drive on this PIII is making funny noises and i do not want to
loose the system

lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Mon Apr 02, 2007 9:02 am    Post subject: Reply with quote

digitall2000 wrote:
what would you suggest to be the best way to clone a drive in gentoo?
the main drive on this PIII is making funny noises and i do not want to loose the system
I've backed up a Gentoo installation to another drive booting from the minimal CD and using tar but you would probably be better off looking at other people's advice.

complete backup??
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Tue Apr 03, 2007 5:02 pm    Post subject: Reply with quote

hi wynn,

i have an access point up and running

could you tell me or point me to the way to insure all my
interfaces are up before my firewall starts?

have been looking at the depend () function
but haven't quite figured it yet

i really need to thank you again for all of your help, so,

thanks again,
lance
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Tue Apr 03, 2007 6:27 pm    Post subject: Reply with quote

digitall2000 wrote:
could you tell me or point me to the way to insure all my interfaces are up before my firewall starts?
have been looking at the depend () function but haven't quite figured it yet
I know very little about initscripts but net-firewall/shorewall just has
Code:
depend() {
        need net
        provide firewall
        after ulogd
}
in its initscript, the "need net" should make sure the network is up before it is run and, as a firewall must monitor all interfaces, "need net" should be what it required for them to be up before it is run.

There's something on initscripts at 4. Initscripts but it doesn't go into the details of "need net".
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum