Installation problems

2007-10-03 Thread Siraj Shaikh
I am new to FreeBSD, and am trying to install it. I have tried to
installa on two separate machines, one a shuttlex xpc, and another an
IBM laptop. Both times, I proceed, create the partitions and then get
this message Unable to transfer the ... distribution from acd0
and finally says Unable to transfer all components of the kernels
distribution

I am installing it from a FreebSD 6.2 iso image burnt on a CD. Is
there a problem with the CD?

Any help on this would be great. Thanks

Siraj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Upgrading X11 port

2007-11-23 Thread Siraj Shaikh
Thanks for this.

I have tried to follow the guidelines here:
http://www.math.colostate.edu/~reinholz/freebsd/xupgrade.html

and I am trying to install gnome2 again through the ports.

How do I get xorg-7.3? through the portupgrade procedure?

Thanks

Siraj


On 24/11/2007, Aryeh Friedman [EMAIL PROTECTED] wrote:
 1. Portmaster is depercated in favor of portupgrade

 2. You will need xorg-7.3 before attempting gnome2

 On 11/24/07, Siraj Shaikh [EMAIL PROTECTED] wrote:
  Hello
 
  I have been trying to install gnome2 (by both packages or port), but
  having trouble as I get an error with regards to the X11 port. I then
  tried to upgrade all my ports using
 
  portmaster -a
 
  It took ages, but then at the end showed the same error.
 
  Stop in /usr/ports/x11/xorg-libraries.
 
  make failed for x11/xorg-libraries..
  ..
  ..
  Update for xorg-libraries-6.9.0 failed
 
  Please tell me what to do.
 
  Thanks
 
  Siraj
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading X11 port

2007-11-23 Thread Siraj Shaikh
Hello

I have been trying to install gnome2 (by both packages or port), but
having trouble as I get an error with regards to the X11 port. I then
tried to upgrade all my ports using

portmaster -a

It took ages, but then at the end showed the same error.

Stop in /usr/ports/x11/xorg-libraries.

make failed for x11/xorg-libraries..
..
..
Update for xorg-libraries-6.9.0 failed

Please tell me what to do.

Thanks

Siraj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: Upgrading X11 port

2007-11-24 Thread Siraj Shaikh
Hi

With regards to the following post, I just wanted to clarify this.

I am going to do this now. Get the ports tree, using

portsnap fetch

and

portsnap extract

and then

portsnap update

Then, when I install xorg, would that be the 7.3 version? or would it
still be 6.9, and I would have to update it using the guideliness
given in UPDATING?

Is it not possible to install xorg-7.3 right from the start? avoiding
this manual updating?

If this question doesn make sense, then I obiviously dont understand
something about port/software installation in freebsd :)


On 24/11/2007, Bob Richards [EMAIL PROTECTED] wrote:
 On Sat, 24 Nov 2007 07:09:20 +
 Frank Shute [EMAIL PROTECTED] wrote:

  On Sat, Nov 24, 2007 at 01:53:48AM +, Siraj Shaikh wrote:

 
  The process described there should work for updating from 6.9 to 7.3
 

 It works just fine. I recently upgraded from 6.9 to 7.3. The procedure
 outlined in UPDATING works.

 Bob
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: Upgrading X11 port

2007-11-24 Thread Siraj Shaikh
Thanks Roland

I am trying it currently. If it doesnt work, I will return :)

Thanks

Siraj

On 24/11/2007, Roland Smith [EMAIL PROTECTED] wrote:
 On Sat, Nov 24, 2007 at 12:22:36PM +, Siraj Shaikh wrote:
  Hi
 
  With regards to the following post, I just wanted to clarify this.
 
  I am going to do this now. Get the ports tree, using
 
  portsnap fetch
 
  and
 
  portsnap extract
 
  and then
 
  portsnap update
 
  Then, when I install xorg, would that be the 7.3 version? or would it
  still be 6.9, and I would have to update it using the guideliness
  given in UPDATING?

 If you install xorg from a fresh ports tree now, you'll get 7.3.

 As the name implies, the UPDATING file is about updating already
 installed ports.


 Roland
 --
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with startx

2007-11-24 Thread Siraj Shaikh
I installed freebsd (6.2) from scratch. Download, updated the ports
tree. Upgraded all the ports. Installed Xorg (it was xorg-7.3). When I
typed in

startx

it worked fine. Then I proceeded to install gnome2-lite using

pkg_add -r gnome2-lite

That worked fine. Tried to start startx/gnome2 (after following the
instructions here:
http://www.freebsd.org/gnome/docs/faq2.html#full-gnome). I want gnome2
to start when I type in startx. I have done this in the past, never
had trouble. But when I rebooted and typed in startx, I had a problem
about

Shared object libintl.so.6 not found, required by gnome-session

and then went to UPDATING and performed

portupgrade -r gettext

Now, I try startx, it doesnt work at all. It gives me the same error

Shared object libintl.so.6 not found, required by gnome-session

followed by

waiting for X server to shutdown FreeFontPath: FPE
/usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing

Please help! All I want to do is to be able to run gnome2.

Thanks

Siraj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IP Aliasing

2008-01-28 Thread Siraj Shaikh
I have a query reagrding IP aliasing in FreeBSD. I have read up on it,
this has been helpful: http://freebsd.peon.net/tutorials/6/

I am wondering if anyone has some experience in using it, and what I
want to know

1) is there an upper limit to configuring a number of alias addresses?

2) if an interface is configured with an alias address, then what
address is shown on the traffic leaving this interface? So, for
example, if I were to ping this machine on its primary address, I
expect to get a response from the primary address of the interface.
What happens if I ping an alias address, would I get a response from
this alias address (as source IP on packets?), or would I get a
response from the primary address configured for the interface?

3) In the above scenario, all traffic leaving the interface
(regardless of the source IP on it) will have the same MAC address
(the one of the interface) - is that right?

4) Does anyone know if there are there any other network
characteristics or behaviour by which we can distinguish a machine
having more than one IP address (primary plus alias) configued on one
of its interface?

Thanks!

Siraj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vista / FreeBSD dual boot

2008-01-28 Thread Siraj Shaikh
I have got a machine which came with Vista pre-installed. Now I would
like to install FreeBSD on it, and so that I can dual boot between the
two.

The machine did come with a rescue CD which has an image of Vista on
it. I tried installing FreeBSD (Vista was already installed), but then
got a problem with the boot loader I think. I could boot to FreeBSD
fine, but couldnt to Vista. So I have reimaged the machine with Vista
now.

How do I go about installing FreeBSD (6.3) on it now? Anyone has done
this already please?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vista / FreeBSD dual boot

2008-01-29 Thread Siraj Shaikh
On 29/01/2008, Alphons Fonz van Werven [EMAIL PROTECTED] wrote:
 Wojciech Puchar wrote:

  No offense, but when installing from scratch using sysinstall, do you
  actually have a command line available in that phase of the install?

  you have to choose rescue disk from menu and CD/DVD.

 Ah, ok.

 Not a logical choice for a fresh install though...

 Alphons (still at war with vidcontrol)

 --
 VISTA - Viruses Intruders Spyware Trojans Adware


OK, wanted to thank you all fo your helkp, and just finally, repeat
the steps (just to clarify amongst all this discussion). This is what
I did

1) started with an empty disk, and used the Vista recovery CD to put
the Vista image onto the laptop
2) then installed freebsd (6.3) from CD and left MBR untouched
3) on restart, was only seeing FreeBSD, so used fdisk to makr the
Vista partition active
4) finally booted up with Vista and then used easyBCD to add the
FreeBSD partition entry to the boot record (its call it NeoLinux for
some reason - could I change it to call it FreeBSD? Not that it
matters so much)
5) finally rebooted to have a choice between FreeBSD and Vista - tried
both and they both work fine!

Thank you again all!

One question: I have just installed FreeBSD 6.3, and tried startx
but it isnt coming up, giving some sort of error. Am I missing
something here? I did choose for Windows X during the FreeBSD setup
- shall I do a port upgrade?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-29 Thread Siraj Shaikh
On 29/01/2008, doug [EMAIL PROTECTED] wrote:
 On Tue, 29 Jan 2008, Siraj Shaikh wrote:

  One question: I have just installed FreeBSD 6.3, and tried startx
  but it isnt coming up, giving some sort of error. Am I missing
  something here? I did choose for Windows X during the FreeBSD setup
  - shall I do a port upgrade?
 
  Thanks

 This is really a new thread. The handbook Chapter 5, The X Window System has 
 the
 steps to follow. If your video card is support, it will just work.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html



I installed FreeBSD 6.3 and asked for X during the step. The link only
shows me how to add the X package. Shall I add the package right on
top now, or shall I remove X first, and then install the port/package
after that?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


warning messages?

2008-01-29 Thread Siraj Shaikh
I have just installed FreeBSD 6.3 on my machine. I keep seeing these messages

cpu0: Cx states changed
cpu1: Cx states changed

in somewhat random intervals, specially at startup. What are they?
Should I be worried? Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-29 Thread Siraj Shaikh
On 29/01/2008, Siraj Shaikh [EMAIL PROTECTED] wrote:
 On 29/01/2008, doug [EMAIL PROTECTED] wrote:
  On Tue, 29 Jan 2008, Siraj Shaikh wrote:
 
   One question: I have just installed FreeBSD 6.3, and tried startx
   but it isnt coming up, giving some sort of error. Am I missing
   something here? I did choose for Windows X during the FreeBSD setup
   - shall I do a port upgrade?
  
   Thanks
 
  This is really a new thread. The handbook Chapter 5, The X Window System 
  has the
  steps to follow. If your video card is support, it will just work.
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html
 
 

 I installed FreeBSD 6.3 and asked for X during the step. The link only
 shows me how to add the X package. Shall I add the package right on
 top now, or shall I remove X first, and then install the port/package
 after that?

 Thanks

I have just reinstalled Xorg (using the xorg port) and tried startx
again but it doesnt work. The error message is something like

(EE) Failed to load module fbdev (module does not exist, 0)
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(II) Module ddc already built-in
(EE) VESA(0): No matching modes
(EE) Screen(s) found, but none have a usable configuration

Fatal server error:
no screens found
X connection to :0.0 broken (explicit kill or server shutdown)

Please help!!!

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-30 Thread Siraj Shaikh
On 29/01/2008, doug [EMAIL PROTECTED] wrote:
 On Tue, 29 Jan 2008, Siraj Shaikh wrote:

  On 29/01/2008, Siraj Shaikh [EMAIL PROTECTED] wrote:
  On 29/01/2008, doug [EMAIL PROTECTED] wrote:
  On Tue, 29 Jan 2008, Siraj Shaikh wrote:
 
  One question: I have just installed FreeBSD 6.3, and tried startx
  but it isnt coming up, giving some sort of error. Am I missing
  something here? I did choose for Windows X during the FreeBSD setup
  - shall I do a port upgrade?
 
  Thanks
 
  This is really a new thread. The handbook Chapter 5, The X Window System 
  has the
  steps to follow. If your video card is support, it will just work.
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html
 
 
 
  I installed FreeBSD 6.3 and asked for X during the step. The link only
  shows me how to add the X package. Shall I add the package right on
  top now, or shall I remove X first, and then install the port/package
  after that?
 
  Thanks
 
  I have just reinstalled Xorg (using the xorg port) and tried startx
  again but it doesnt work. The error message is something like
 
  (EE) Failed to load module fbdev (module does not exist, 0)
  (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
  (II) Module ddc already built-in
  (EE) VESA(0): No matching modes
  (EE) Screen(s) found, but none have a usable configuration
 
  Fatal server error:
  no screens found
  X connection to :0.0 broken (explicit kill or server shutdown)
 
  Please help!!!

 This looks like you did not configure X. As the handbook 5.4.2 says if startx
 does not work you need to run: Xorg -configure and then test that with

Xorg -config xorg.conf.new

 If your Xorg is  7.3 you have to do this. Depending on the defaults selected
 and your video card, you may need to edit your screen section. Xorg 7 did not
 work for me. In Xorg 6 all setup is manual and required. My screen section:

 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 #   DefaultDepth 16
 SubSection Display
 Viewport   0 0
 Depth 1
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 4
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 8
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 15
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 16
 Modes 1280x1024
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 24
 Modes 1280x1024
 EndSubSection
 EndSection



I did configure Xorg as it said in the handbook, but after that the
test didnt work, still gave me the same error. I then installed from a
port (I assume that will be the latest Xorg 7.3 is it? How can I check
what version do I have?

What is way forward now? uninstall this and install Xorg 6?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-30 Thread Siraj Shaikh
On 30/01/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On Wed, 30 Jan 2008, Siraj Shaikh wrote:

  On 29/01/2008, doug [EMAIL PROTECTED] wrote:
  On Tue, 29 Jan 2008, Siraj Shaikh wrote:
 
  On 29/01/2008, Siraj Shaikh [EMAIL PROTECTED] wrote:
  On 29/01/2008, doug [EMAIL PROTECTED] wrote:
  On Tue, 29 Jan 2008, Siraj Shaikh wrote:
 
  One question: I have just installed FreeBSD 6.3, and tried startx
  but it isnt coming up, giving some sort of error. Am I missing
  something here? I did choose for Windows X during the FreeBSD setup
  - shall I do a port upgrade?

 [cut]

  (EE) Failed to load module fbdev (module does not exist, 0)
  (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
  (II) Module ddc already built-in
  (EE) VESA(0): No matching modes
  (EE) Screen(s) found, but none have a usable configuration
 
  Fatal server error:
  no screens found
  X connection to :0.0 broken (explicit kill or server shutdown)

 [cut x config stuff]

  I did configure Xorg as it said in the handbook, but after that the
  test didnt work, still gave me the same error. I then installed from a
  port (I assume that will be the latest Xorg 7.3 is it? How can I check
  what version do I have?
 
  What is way forward now? uninstall this and install Xorg 6?

  1) Post xorg.conf.new as suggested.
  2) pkg_info | grep xorg  will show you whats installed
  3) check the hardware list to see if there are know issues
  4) Google the error and freebsd + xorg + your system

 You will get the most (probably) from posting xorg.conf.new. along with
 'uname -a' output. Don't edit it just send it to the list avoiding line
 wrapping.


Following is the result of pkg_info | grep xorg


xorg-7.3_1  X.Org complete distribution metaport
xorg-apps-7.3   X.org apps meta-port
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.4,1 X.org documentation files
xorg-drivers-7.3X.org drivers meta-port
xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
xorg-fonts-7.3  X.org fonts meta-port
xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xorg-fonts-type1-7.3 X.Org Type1 fonts
xorg-libraries-7.3_1 X.org libraries meta-port
xorg-nestserver-1.4,1 Nesting X server from X.Org
xorg-protos-7.3 X.org protos meta-port
xorg-server-1.4_4,1 X.Org X server and related programs
xorg-vfbserver-1.4,1 X virtual framebuffer server from X.Org


The contents of my xorg.conf.new file are below


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/local/share/X11/rgb
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
EndSection

Section Module
Load  extmod
Load  record
Load  dbe
Load  glx
Load  GLcore
Load  xtrap
Load  dri
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option ShadowFB  # [bool]
#Option DefaultRefresh# [bool]
#Option ModeSetClearScreen# [bool]
Identifier  Card0
Driver  vesa
VendorName  Intel Corporation
BoardName   Mobile GM965/GL960 Integrated Graphics Controller
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display

Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-30 Thread Siraj Shaikh
On 30/01/2008, KAYVEN RIESE [EMAIL PROTECTED] wrote:


 On Wed, 30 Jan 2008, Siraj Shaikh wrote:
  On 30/01/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  On Wed, 30 Jan 2008, Siraj Shaikh wrote:
  On 29/01/2008, doug [EMAIL PROTECTED] wrote:
  On Tue, 29 Jan 2008, Siraj Shaikh wrote:
  On 29/01/2008, Siraj Shaikh [EMAIL PROTECTED] wrote:
  On 29/01/2008, doug [EMAIL PROTECTED] wrote:
  On Tue, 29 Jan 2008, Siraj Shaikh wrote:
 
 
  Just to repeat. I installed FreeBSD 6.3, its a new Toshiba notebook. I
  chose to install X Windows during sysinstall. The very first time I
  ran startx it didnt work. Then I did the Xorg -configure and tried
  again, and still doesnt work. Please help 

 startx is lame.  most ppl apparently use either KDE or gnome. i used
 to use xfce4 that was started with the command starxfce4 but i ended
 up being pursuaded out of it because i couldn't do flash and multimedia
 plugins.  have you tried running the following command at the
 root prompt:

 #pkg_add -r gnome2

 i think that is what i used.

 here is a webpage for gnome:

 http://www.gnome.org/start/2.20/notes/en/

 have you familiarized yourself with the freeBSD pkg_add pkg_delete
 and ports systems /usr/ports ?  the -r directive means that it goes
 out to the web to find things to install and at the same time installs
 it.  really easy.  for the ports system

 http://www.freebsd.org/ports/index.html

 you merely figure out what port you want.. do a command something
 like (as root)

 #cd /usr/ports/path/to/a/kewl/app

 and then

 #make install clean

 the ports system figures out all the dependencies.. also there is a
 kewl thing called portsnap that updates the ports directories


Do I need to get Xorg working first? before I deploy gnome2? I do plan
to install gnome 2 -certainly at some stage - would that solve my
problems?

I am a bit confused nowplease help! I thought gnome 2 wouldnt work
if I dont get xorg to work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-30 Thread Siraj Shaikh
On 30/01/2008, Frank Shute [EMAIL PROTECTED] wrote:
 On Wed, Jan 30, 2008 at 07:59:09PM +, Siraj Shaikh wrote:
 
  On 30/01/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   On Wed, 30 Jan 2008, Siraj Shaikh wrote:
  
 snip
  
  (EE) Failed to load module fbdev (module does not exist, 0)
  (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
  (II) Module ddc already built-in
  (EE) VESA(0): No matching modes
  (EE) Screen(s) found, but none have a usable configuration
 
  Fatal server error:
  no screens found
  X connection to :0.0 broken (explicit kill or server shutdown)
  
   [cut x config stuff]
  
I did configure Xorg as it said in the handbook, but after that the
test didnt work, still gave me the same error. I then installed from a
port (I assume that will be the latest Xorg 7.3 is it? How can I check
what version do I have?
   
What is way forward now? uninstall this and install Xorg 6?
  
1) Post xorg.conf.new as suggested.
2) pkg_info | grep xorg  will show you whats installed
3) check the hardware list to see if there are know issues
4) Google the error and freebsd + xorg + your system
  
   You will get the most (probably) from posting xorg.conf.new. along with
   'uname -a' output. Don't edit it just send it to the list avoiding line
   wrapping.
  
 
  Following is the result of pkg_info | grep xorg
 
 
  xorg-7.3_1  X.Org complete distribution metaport
  xorg-apps-7.3   X.org apps meta-port
  xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
  xorg-docs-1.4,1 X.org documentation files
  xorg-drivers-7.3X.org drivers meta-port
  xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
  xorg-fonts-7.3  X.org fonts meta-port
  xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
  xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
  xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
  xorg-fonts-truetype-7.3 X.Org TrueType fonts
  xorg-fonts-type1-7.3 X.Org Type1 fonts
  xorg-libraries-7.3_1 X.org libraries meta-port
  xorg-nestserver-1.4,1 Nesting X server from X.Org
  xorg-protos-7.3 X.org protos meta-port
  xorg-server-1.4_4,1 X.Org X server and related programs
  xorg-vfbserver-1.4,1 X virtual framebuffer server from X.Org

 Looks like you've got everything, from a glance.

 
 
  The contents of my xorg.conf.new file are below
 
 
  Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
  EndSection
 
  Section Files
RgbPath  /usr/local/share/X11/rgb
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
  EndSection
 
  Section Module
Load  extmod
Load  record
Load  dbe
Load  glx
Load  GLcore
Load  xtrap
Load  dri
Load  freetype
Load  type1
  EndSection
 
  Section InputDevice
Identifier  Keyboard0
Driver  kbd
  EndSection

 You'll need to edit the above if you're using a non-US keyboard.
 E.g:

 Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option XkbRules   xfree86
Option XkbModel pc102
Option XkbLayout gb
 EndSection

 If you tell us which country your keyboard is for, we could provide
 more help.

 I think you want:

Option XkbModel pc101

 for a laptop.

 
  Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
  EndSection
 
  Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
  EndSection
 
  Section Device
  ### Available Driver options are:-
  ### Values: i: integer, f: float, bool: True/False,
  ### string: String, freq: f Hz/kHz/MHz
  ### [arg]: arg optional
  #Option ShadowFB# [bool]
  #Option DefaultRefresh  # [bool]
  #Option ModeSetClearScreen  # [bool]
Identifier  Card0
Driver  vesa
VendorName  Intel Corporation
BoardName   Mobile GM965/GL960 Integrated Graphics Controller
BusID   PCI:0:2:0
  EndSection

 Bad news. i810 doesn't support your graphics chip yet and you have to use
 crappy old vesa.

 
  Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0

 Add here:

DefaultColorDepth 24

SubSection Display
Viewport   0 0
Depth 1
EndSubSection

Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-30 Thread Siraj Shaikh
On 30/01/2008, Jonathan Chen [EMAIL PROTECTED] wrote:
 On Wed, Jan 30, 2008 at 09:29:02PM +, Siraj Shaikh wrote:

 [...]
  (--) PCI: (0:2:1) Intel Corporation Mobile GM965/GL960 Integrated
  Graphics Controller rev 3, Mem @ 0xf010/20
  New driver is i810

 The i810 driver doesn't quite support laptop screens that well. Try using
 the intel driver (x11-drivers/xf86-video-intel) instead. This driver
 will conflict with the i180 driver, so you will have to remove the old
 one first.

 Cheers.
 --
 Jonathan Chen [EMAIL PROTECTED]
 --
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.

How do I do this? what do I change? Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting X - was Re: Vista / FreeBSD dual boot

2008-01-30 Thread Siraj Shaikh
On 30/01/2008, Jonathan Chen [EMAIL PROTECTED] wrote:
 On Wed, Jan 30, 2008 at 09:51:11PM +, Siraj Shaikh wrote:
  On 30/01/2008, Jonathan Chen [EMAIL PROTECTED] wrote:
   On Wed, Jan 30, 2008 at 09:29:02PM +, Siraj Shaikh wrote:
  
   [...]
(--) PCI: (0:2:1) Intel Corporation Mobile GM965/GL960 Integrated
Graphics Controller rev 3, Mem @ 0xf010/20
New driver is i810
  
   The i810 driver doesn't quite support laptop screens that well. Try using
   the intel driver (x11-drivers/xf86-video-intel) instead. This driver
   will conflict with the i180 driver, so you will have to remove the old
   one first.
 ...
  
  How do I do this? what do I change? Thanks

 There should be a more elegant way to do this, but the way I did it
 was to:

# pkg_delete -f xf86-video-i810-1.7.4
# cd /usr/ports/x11-drivers/xorg-drivers
# make rmconfig
# make config
[untick i180 and tick intel]
# portupgrade -f xorg-drivers

 After which, X on my laptop started behaving as it should.
 --
 Jonathan Chen [EMAIL PROTECTED]

Jonathan

I followed your instructions but still doesnt work.

Now, all this is really disappointing. Would you suggest I reinstall
FreeBSD 6.3? Perhaps I reinstall it without choosing Xorg during
sysinstall and then install it later through package or port?

If you think this wont make a difference, then I am prepared to just
leave it as it is for now I think.

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Aliasing

2008-02-21 Thread Siraj Shaikh
On 29/01/2008, Olivier Nicole [EMAIL PROTECTED] wrote:
  1) is there an upper limit to configuring a number of alias addresses?

 I have a machine with 200+ IP without any problem.

   2) if an interface is configured with an alias address, then what
   address is shown on the traffic leaving this interface? So, for
   example, if I were to ping this machine on its primary address, I
   expect to get a response from the primary address of the interface.
   What happens if I ping an alias address, would I get a response from

 By default exiting traffic is using the primary address (the one
  defined with no keyword alias in the ifconfig). I think there is a way
  to choose the exiting IP.

  When a paket is responding, it use the same IP that was used in the
  query (else any firewall would be confused in the way).


   3) In the above scenario, all traffic leaving the interface
   (regardless of the source IP on it) will have the same MAC address
   (the one of the interface) - is that right?


 Right except maybe some NIC that allow several MAC addresses? That
  could be used in hi availability?


   4) Does anyone know if there are there any other network
   characteristics or behaviour by which we can distinguish a machine
   having more than one IP address (primary plus alias) configued on one
   of its interface?


 Once you cross a router, you don't see the MAC of the machine anymore,
  MAC is local to your LAN anyway.

  Olivier




One last thing I wanted to know (sorry to email after a long delay),
in order for me to add aliases that I want to remain configured on the
machine at every boot, I can simply add, for exmaple, the following
lines to the rc.conf file?

ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x

Just want to know, as I want to configure about 253 addresses as an
alias on a single machine (along with the primary address, this will
be 254 address, a whole C-class subnet) - and would like these entries
to hold when I boot. Also, is there any shortcut to adding a range of
net/host address or would I have to add a line for each address?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Aliasing

2008-02-21 Thread Siraj Shaikh
On 21/02/2008, Mel [EMAIL PROTECTED] wrote:
 On Thursday 21 February 2008 13:07:08 Siraj Shaikh wrote:

   ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
   ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
   ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x
  
   Just want to know, as I want to configure about 253 addresses as an
   alias on a single machine (along with the primary address, this will
   be 254 address, a whole C-class subnet) - and would like these entries
   to hold when I boot. Also, is there any shortcut to adding a range of
   net/host address or would I have to add a line for each address?


 Yes and yes. Yes it needs one line per alias and yes, there's a shortcut:

  for i in $(jot - 0 254); do
   echo ifconfig_ed0_alias${i}=\inet 127.0.0.$((i+1)) netmask 0x\
  done /etc/rc.conf

  Wouldn't do this with 127.0.0 btw, but I figured you wouldn't. You'd also 
 have
  to make a provision for the main IP, but then again, it's easier to remove
  the specific line by hand.
  --

 Mel


Thanks Mel - very helpful indeed

Siraj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to start Gnome2-lite

2008-03-04 Thread Siraj Shaikh
I installed Gnome2-lite as a package. I then inserted the following line

gnome_enable=YES

in rc.conf

and also inserted the line

exec gnome-session

in the xinitrc file. | type startx after this, but gnome desktop
doesnt load up. Instead the usual x windows screen loads up.

Please Help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to start Gnome2-lite

2008-03-05 Thread Siraj Shaikh
On 05/03/2008, Outback Dingo [EMAIL PROTECTED] wrote:
 vi `/.xinitrc

 paste

 exec gnome-session

 then :wq

 save the file, and startx

is that /.xinitrc ? or in my home directory, /root/.xinitrc ?





 On Wed, Mar 5, 2008 at 5:07 AM, Siraj Shaikh [EMAIL PROTECTED] wrote:
 
 
  On 05/03/2008, Jonathan Chen [EMAIL PROTECTED] wrote:
   On Tue, Mar 04, 2008 at 10:41:47PM +, Siraj Shaikh wrote:
I installed Gnome2-lite as a package. I then inserted the following
 line
   
gnome_enable=YES
   
in rc.conf
   
and also inserted the line
   
exec gnome-session
   
in the xinitrc file. | type startx after this, but gnome desktop
doesnt load up. Instead the usual x windows screen loads up.
  
   The gnome-session line needs to be in ${HOME}/.xinitrc, which also
   needs to have permissions 700 at least.
  
   Cheers.
   --
   Jonathan Chen [EMAIL PROTECTED]
  
 --
   The human mind ordinarily operates at only ten percent of its capacity
   -- the rest is overhead for the operating system.
  
  SO if I log in as root, which I do, then this means that file will be
  in /root/ directory? But I cant find any .xinitrc file in root
  directory? WHat do I do?
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to start Gnome2-lite

2008-03-05 Thread Siraj Shaikh
On 05/03/2008, Jonathan Chen [EMAIL PROTECTED] wrote:
 On Tue, Mar 04, 2008 at 10:41:47PM +, Siraj Shaikh wrote:
  I installed Gnome2-lite as a package. I then inserted the following line
 
  gnome_enable=YES
 
  in rc.conf
 
  and also inserted the line
 
  exec gnome-session
 
  in the xinitrc file. | type startx after this, but gnome desktop
  doesnt load up. Instead the usual x windows screen loads up.

 The gnome-session line needs to be in ${HOME}/.xinitrc, which also
 needs to have permissions 700 at least.

 Cheers.
 --
 Jonathan Chen [EMAIL PROTECTED]
 --
 The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.

SO if I log in as root, which I do, then this means that file will be
in /root/ directory? But I cant find any .xinitrc file in root
directory? WHat do I do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to start Gnome2-lite

2008-03-05 Thread Siraj Shaikh
Guys

I have managed to to do what you say and now when I type in startx, it
does show me a box saying This session is running as a privileged
user and asking me to either COntinue or Quit. My mouse isnt working
at this stage and I cant press either of the buttons. Neither is tab
or space or alt c working. What to do?

Your help is much appreciated

I am running as root because this machine is not used for any other
purpose, behind a firewall, not connected to any other machine and is
only being used for testing little utilities.

On 05/03/2008, Chris [EMAIL PROTECTED] wrote:
 On Wed, 5 Mar 2008 05:31:37 -0500
 Outback Dingo [EMAIL PROTECTED] wrote:

  wh
 
  echo exec gnome-session  ~/.xinitrc
 
  sounds like potentially a new user we have no idea what directory he
  might be in
 
  silly unix tricks
 
 
  On Wed, Mar 5, 2008 at 5:28 AM, Chris [EMAIL PROTECTED] wrote:
 
   On Wed, 5 Mar 2008 05:23:49 -0500
   Outback Dingo [EMAIL PROTECTED] wrote:
  
notice i typed ~/.xinitrcnot /.xinitrc  see the ~
   
   
the ~/ means your home diretcory
   
ie /root if your logged in as root
   
and you typed
   
cd ~/
   
it would cd you into /root
   
if you were logged in as siraj and you typed cd ~/
   
it would cd you into /home/siraj ...
   
follow...?
   
so vi ~/.xinitrc
  
   Alternatively (and assuming .xinitrc does not exist)
  
   echo exec gnome-session  .xinitrc
  
   If it does:
  
   echo exec gnome-session  .xinitrc
  
  
   --
   Best regards,
   Chris
  
   Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8


 Haha! Good point - I didn't think of that!
 Nice catch.


 --
 Best regards,
 Chris

 Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to start Gnome2-lite

2008-03-05 Thread Siraj Shaikh
I have the usbd_enable line in rc.conf

the mouse is working on the black screen but it doesnt work when the x loads up



On 05/03/2008, Chris [EMAIL PROTECTED] wrote:
 On Wed, 5 Mar 2008 10:37:37 +
 Siraj Shaikh [EMAIL PROTECTED] wrote:

  Guys
 
  I have managed to to do what you say and now when I type in startx, it
  does show me a box saying This session is running as a privileged
  user and asking me to either COntinue or Quit. My mouse isnt working
  at this stage and I cant press either of the buttons. Neither is tab
  or space or alt c working. What to do?
 
  Your help is much appreciated
 
  I am running as root because this machine is not used for any other
  purpose, behind a firewall, not connected to any other machine and is
  only being used for testing little utilities.
 

 Welp - As to you running as root (you know my position) that is
 absolutely your call mate.

 A really quick fix (for the mouse) is call up sysinstall and go to
 Configure, then Mouse.

 Choose Number 3 (Type) then config from there OR go right to Number 2
 (Enable)

 Once you have the rodent configed via sysinstall, that ought to plop
 the needed lines in /etc/rc.conf (your mileage may vary, standard
 disclaimers apply).

 This is just one way of trying it - you could run the Xorg config
 utils, or if you are brave, edit the Xorg conf file by hand.

 --
 Best regards,
 Chris

 Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Manually opening TCP ports

2008-03-06 Thread Siraj Shaikh
Hello

I am just wondering if there is a utility (or any feature in FreeBSD)
that allows me to manually open a TCP port on a machine. I am looking
for a way that could either allow me to open ALL or many TCP ports on
a machine.

Also, is there any way of running a service on more than a single
port, or on all or many ports?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Manually opening TCP ports

2008-03-07 Thread Siraj Shaikh
On 07/03/2008, Wojciech Puchar [EMAIL PROTECTED] wrote:
 
  I am just wondering if there is a utility (or any feature in FreeBSD)
  that allows me to manually open a TCP port on a machine. I am looking
  for a way that could either allow me to open ALL or many TCP ports on
  a machine.

 man nc

 
  Also, is there any way of running a service on more than a single
  port, or on all or many ports?
 not all, but on more than a single - of course, just start more than once.

So I can run a service on all ports, say from 1024 to 65535? Is there
a single command that can be used to specify a range of ports we want
it to run on, when starting a service?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to respond to possible attacks

2008-03-08 Thread Siraj Shaikh
On 08/03/2008, Robin Becker [EMAIL PROTECTED] wrote:
 Sorry if this is too off topic, but I would like to find out what to do
 when you suspect a possible dos attack on your system. I know there are
 many experienced sysadmins here.
 Although my system (freebsd 6.0/apache 2.0.x) did in fact hold up, what
 steps should I be taking? The originating ip doesn't seem to be reverse
 mappable.
 --

Robin

Are you only interested in finding out about the source of these
attacks, have you got some firewall configured? Is there any
particular service being targeted, what kind of packets are coming
through?

Also, making sure if the same ip is targetting any other hosts on your
network, or any previous attempts at probing this machine or other
hosts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]