LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SuSE newbie questions (https://www.linuxquestions.org/questions/linux-software-2/suse-newbie-questions-439137/)

Madd the Sane 04-26-2006 04:39 PM

SuSE newbie questions
 
Question 1: How do I set it up so that Suse Linux automatically sets up APIPA (169.254.x.x) if there isn't a DHCP server, but use the DHCP server info if there is one? I want it done automatically, so I don't have to do any command line voodoo if I activate a server. Help would be appreciated.
Question 2: I have a keyboard (Compaq internet keyboard-18 buttons) that has additional buttons. Is there any way I can make the OS recognize these buttons and use them?
Question 3: I know this is probably a shot in the dark, but is there any way that I could get my video card (Trident Blade3D/mvp4?, OS recognizes it as Trident Cyberblade/i7) to run OpenGL? I know that it can do OpenGL on Windows, but I don't have it set up to boot into win98 (it wasn't working anymore).
Question 4: …when I was trying to get OS X to print to a printer connected to the linux box, it basically said that the hostname wasn't found. I did a quick fix by modifying Mac OS X's /etc/hosts file to include it, but I don't like messing with such system files on my Mac (Or Linux, but it's kind of expected). Is there a way to make it so that the Linux box broadcasts it's "name" via mDNS (A.K.A. zeroconf, A.K.A. Bonjour, A.K.A. Rondesvous)? Thanks.

these are the questions about SuSE Linux that I asked at the Macaddict site. I found this site while I was browsing and I thought "This would be a better site to ask this question," so I'm asking it here.

On second thought, this thread should be moved to the SuSE forum.

jonaskoelker 04-26-2006 04:59 PM

The answer to question 2 is most likely "yes".

I can remember what I did, but I suppose xev and xmodmap will be helpful. Sure, xmodmap is a bitch to learn to use, but see also my ~/.xmodmaprc; Also, my keyboard section from /etc/X11/xorg.conf is:

Code:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "logicdp"
        Option          "XkbLayout"    "dvorak"
EndSection

my xmodmap file is:
Code:

! buttons '(2 4 5 6 7) are all duds, so map buttons '(1 3 4 5) to
! positions '(3 1 8 9).
pointer = 3 2 1 6 7 8 9 4 5

! shift shift is compose
keysym Shift_L = Shift_L Multi_key
keysym Shift_R = Shift_R Multi_key
! keycode 50 = Shift_L Multi_key
! keycode 62 = Shift_R Multi_key

! shift left-alt is compose
! keysym Alt_L = Alt_L Multi_key
! right control is compose
! keycode 109 = Multi_key
! scroll lock is compose
! keycode 78 = Multi_key
! shift pgup is compose
! keycode 99 = Prior Multi_key

! swap the two control keys
! remove control = Control_L
! keycode  37 = Multi_key
! keycode 109 = Control_L
! add control = Control_L

My output of xmodmap -pke
Code:

keycode  8 =
keycode  9 = Escape
keycode  10 = 1 exclam
keycode  11 = 2 at
keycode  12 = 3 numbersign
keycode  13 = 4 dollar
keycode  14 = 5 percent
keycode  15 = 6 asciicircum dead_circumflex dead_circumflex dead_circumflex dead_circumflex
keycode  16 = 7 ampersand
keycode  17 = 8 asterisk
keycode  18 = 9 parenleft dead_grave NoSymbol dead_grave
keycode  19 = 0 parenright
keycode  20 = bracketleft braceleft
keycode  21 = bracketright braceright dead_tilde NoSymbol dead_tilde
keycode  22 = BackSpace Terminate_Server
keycode  23 = Tab ISO_Left_Tab
keycode  24 = apostrophe quotedbl dead_acute dead_diaeresis dead_acute dead_diaeresis
keycode  25 = comma less dead_cedilla dead_caron dead_cedilla dead_caron
keycode  26 = period greater dead_abovedot periodcentered dead_abovedot periodcentered
keycode  27 = p P
keycode  28 = y Y
keycode  29 = f F
keycode  30 = g G
keycode  31 = c C
keycode  32 = r R
keycode  33 = l L
keycode  34 = slash question
keycode  35 = equal plus
keycode  36 = Return
keycode  37 = Control_L
keycode  38 = a A
keycode  39 = o O
keycode  40 = e E
keycode  41 = u U
keycode  42 = i I
keycode  43 = d D
keycode  44 = h H
keycode  45 = t T
keycode  46 = n N
keycode  47 = s S
keycode  48 = minus underscore
keycode  49 = grave asciitilde dead_grave dead_tilde dead_grave dead_tilde
keycode  50 = Shift_L Multi_key
keycode  51 = backslash bar
keycode  52 = semicolon colon dead_ogonek dead_doubleacute dead_ogonek dead_doubleacute
keycode  53 = q Q
keycode  54 = j J
keycode  55 = k K
keycode  56 = x X
keycode  57 = b B
keycode  58 = m M
keycode  59 = w W
keycode  60 = v V
keycode  61 = z Z
keycode  62 = Shift_R Multi_key
keycode  63 = KP_Multiply XF86_ClearGrab
keycode  64 = Alt_L Meta_L
keycode  65 = space
keycode  66 = Caps_Lock
keycode  67 = F1 XF86_Switch_VT_1
keycode  68 = F2 XF86_Switch_VT_2
keycode  69 = F3 XF86_Switch_VT_3
keycode  70 = F4 XF86_Switch_VT_4
keycode  71 = F5 XF86_Switch_VT_5
keycode  72 = F6 XF86_Switch_VT_6
keycode  73 = F7 XF86_Switch_VT_7
keycode  74 = F8 XF86_Switch_VT_8
keycode  75 = F9 XF86_Switch_VT_9
keycode  76 = F10 XF86_Switch_VT_10
keycode  77 = Num_Lock Pointer_EnableKeys
keycode  78 = Scroll_Lock
keycode  79 = KP_Home KP_7
keycode  80 = KP_Up KP_8
keycode  81 = KP_Prior KP_9
keycode  82 = KP_Subtract XF86_Prev_VMode
keycode  83 = KP_Left KP_4
keycode  84 = KP_Begin KP_5
keycode  85 = KP_Right KP_6
keycode  86 = KP_Add XF86_Next_VMode
keycode  87 = KP_End KP_1
keycode  88 = KP_Down KP_2
keycode  89 = KP_Next KP_3
keycode  90 = KP_Insert KP_0
keycode  91 = KP_Delete KP_Decimal
keycode  92 = Print Sys_Req
keycode  93 = Mode_switch
keycode  94 = less greater bar brokenbar bar brokenbar
keycode  95 = F11 XF86_Switch_VT_11
keycode  96 = F12 XF86_Switch_VT_12
keycode  97 = Home
keycode  98 = Up
keycode  99 = Prior
keycode 100 = Left
keycode 101 =
keycode 102 = Right
keycode 103 = End
keycode 104 = Down
keycode 105 = Next
keycode 106 = Insert
keycode 107 = Delete
keycode 108 = KP_Enter
keycode 109 = Control_R
keycode 110 = Pause Break
keycode 111 = Print Sys_Req
keycode 112 = KP_Divide XF86_Ungrab
keycode 113 = Alt_R Meta_R
keycode 114 = Pause Break
keycode 115 = Super_L
keycode 116 = Super_R
keycode 117 = Menu
keycode 118 =
keycode 119 =
keycode 120 =
keycode 121 =
keycode 122 =
keycode 123 =
keycode 124 = ISO_Level3_Shift
keycode 125 = NoSymbol Alt_L
keycode 126 = KP_Equal
keycode 127 = NoSymbol Super_L
keycode 128 = NoSymbol Hyper_L
keycode 129 =
keycode 130 =
keycode 131 =
keycode 132 =
keycode 133 =
keycode 134 =
keycode 135 =
keycode 136 =
keycode 137 =
keycode 138 =
keycode 139 =
keycode 140 =
keycode 141 =
keycode 142 =
keycode 143 =
keycode 144 = XF86AudioPrev
keycode 145 =
keycode 146 =
keycode 147 =
keycode 148 =
keycode 149 =
keycode 150 =
keycode 151 =
keycode 152 =
keycode 153 = XF86AudioNext
keycode 154 =
keycode 155 =
keycode 156 = NoSymbol Meta_L
keycode 157 =
keycode 158 =
keycode 159 =
keycode 160 = XF86AudioMute
keycode 161 = XF86VendorHome
keycode 162 = XF86AudioPlay XF86AudioPause
keycode 163 =
keycode 164 = XF86AudioStop
keycode 165 =
keycode 166 =
keycode 167 =
keycode 168 =
keycode 169 =
keycode 170 =
keycode 171 =
keycode 172 =
keycode 173 =
keycode 174 = XF86AudioLowerVolume
keycode 175 =
keycode 176 = XF86AudioRaiseVolume
keycode 177 =
keycode 178 = XF86HomePage
keycode 179 =
keycode 180 =
keycode 181 =
keycode 182 =
keycode 183 =
keycode 184 =
keycode 185 =
keycode 186 =
keycode 187 =
keycode 188 =
keycode 189 =
keycode 190 =
keycode 191 =
keycode 192 =
keycode 193 =
keycode 194 =
keycode 195 =
keycode 196 =
keycode 197 =
keycode 198 =
keycode 199 =
keycode 200 =
keycode 201 =
keycode 202 =
keycode 203 =
keycode 204 =
keycode 205 =
keycode 206 =
keycode 207 =
keycode 208 =
keycode 209 =
keycode 210 =
keycode 211 =
keycode 212 =
keycode 213 =
keycode 214 =
keycode 215 =
keycode 216 =
keycode 217 =
keycode 218 =
keycode 219 =
keycode 220 =
keycode 221 =
keycode 222 =
keycode 223 = XF86Standby
keycode 224 =
keycode 225 =
keycode 226 =
keycode 227 =
keycode 228 =
keycode 229 = XF86Search
keycode 230 = XF86Go
keycode 231 =
keycode 232 =
keycode 233 =
keycode 234 =
keycode 235 =
keycode 236 = XF86Mail
keycode 237 = XF86AudioMedia
keycode 238 =
keycode 239 =
keycode 240 =
keycode 241 =
keycode 242 =
keycode 243 =
keycode 244 =
keycode 245 =
keycode 246 =
keycode 247 =
keycode 248 =
keycode 249 =
keycode 250 =
keycode 251 =
keycode 252 =
keycode 253 =
keycode 254 =
keycode 255 =

I hope this is in some way useful. I recall finding a decent guide on google, so try that, and see what you can learn from my load of... verbiage.

hth --Jonas

BobNutfield 04-26-2006 05:05 PM

1. Enable DHCP in your net config, I believe in SUSE it is YAst
2. You can enable multi-media keys on keyboards (i.e. microsoft style multi-media keyboards) also through YAst (I use FC5 and there is such a GUI for doing this)
3. You can get Trident Linux drivers here
4. Configure your host name on your local system (Its how I do it on my home network so that I don't have to continually change IP addresses on the other computers.

Hope this helps,

Bob

Madd the Sane 04-27-2006 12:52 AM

Okay, I was able to fix number 1 and number 4, and thanks for the links for the linux trident drivers: i'll look them up later. I'll also look up fc5, as the utility that came with SuSE, linEAK, doesn't seem to work.

Madd the Sane 04-27-2006 11:40 PM

oops. I mistook fc5 as a keyboard manager and not Fedora. Silly me!
Also, now that I've gotten the Trident Linux drivers, what do I do with them? :newbie:

And apparenly I wasn't very clear about the apipa thing. At times I have a long cable that I plug into the computer in the front room in order to get net access for my Mac and, now that I have Linux, Linux. However, since it is such a long distance (the house is 20-odd years old, and my parents have yet to make ethernet integrated into the house, not to mention broadband), sometimes I don't have it plugged in. However, I still want the Mac and Linux box to talk to each other. But since I couldn't get the Linux box to use APIPA, I decided to use locations (Or something like that) and set one to DHCP and the other to APIPA-with-bonjour (address: 169.254.45.56 subnet mask: 255.255.0.0 DNS server: 224.0.0.1).

Thanks for your time.


All times are GMT -5. The time now is 07:30 AM.