[noob] need help with pdf book

new problem :(
here is output of command: ifconfig -a
Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:1a:92:34:04:9b
inet 192.168.1.55 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe 80::21a:92ff:fe34:49b%re0 prefixlen 64 scopeid 0x1
media: Ethernet autoselect (none)
status:no carrier

plip0:flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500

lo0:flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>metric 0 mtu 16384
       options=3<RXCSUM,TXCSUM>
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
      inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00
      Opened by PID 347
So now I suggest that i have to choose re0 interface. I have done command: dhclient re0!(autoconfiguration of interface).
Output was like this:
Code:
#re0: no link ......................giving up
and that was it.
So i stoped at this step because something is wrong. no link, hmm??!!
and if you (dear helpers) might find this useful watch this.
My output of command: #route get default is:
Code:
route to: default
destination: default
mask: default
gateway: 10.0.0.2
interface: tun0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe  sendpipe  ssthresh  rtt,msec  mtu   weight  expire
   0         0          0          0    1500    1       0
help :(
 
Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:1a:92:34:04:9b
inet 192.168.1.55 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe 80::21a:92ff:fe34:49b%re0 prefixlen 64 scopeid 0x1
media: Ethernet autoselect (none)
[b]status:no carrier[/b]

plip0:flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500

lo0:flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>metric 0 mtu 16384
       options=3<RXCSUM,TXCSUM>
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
      inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00
      Opened by PID 347

You don't have a physical connection to the other side. Check cables and everything. And it looks like the interface has been configured with static IP address. Edit your /etc/rc.conf, find the ifconfig_re0 line and change it to ifconfig_re0="DHCP" .
 
good news!
i changed cable and now i have succesful internet connection(tnx Zare)!
I also installed Xorg.
Now when i enter "startx" it opens some DE (i don't know it's name)with 3 windows(terminals i guess)but my keybord and mouse
aren't working there??
I need to configure something??
I also installed WindowMaker with
Code:
cd /usr/ports/x11-wm/windowmaker
make install clean
But i don't know how to start it??
 
Look in your .xinitrc. It starts twm by default (which is what you see). Replace twm with wmaker (IIRC) and see what happens.
 
Now when i enter "startx" it opens some DE (i don't know it's name)with 3 windows(terminals i guess)but my keybord and mouse

Edit /etc/X11/xorg.conf, inside ServerLayout section insert this;

Code:
Option    AllowEmptyInput "off"

That should do the trick. But it's not needed if your hald is functioning normally. Do you have hald_enable="YES" line in your /etc/rc.conf?
 
ok
where can I find this file .xinitrc ??
And Zare I dont think i have xorg.conf file, but i have
xorg.conf.new file which i get from command:
Xorg configure
????
So Xorg is 100% installed because startx works!
Is it important to have working keybord and mouse in twm
if I am gonna install new DE (WindowMaker)
 
psycho said:
where can I find this file .xinitrc ??
You don't *find* it. You *create* it in your home directory.
% ee/vi ~/.xinitrc, type the appropriate commands and save.


psycho said:
I dont think i have xorg.conf file, but i have xorg.conf.new
If you had read the entire handbook page related to your case, you'd know what to do. Hint: cp or mv


psycho said:
So Xorg is 100% installed because startx works!
Is it important to have working keybord and mouse in twm if I am gonna install new DE (WindowMaker)
TWM is the bare minimum in X. So having a fully functional TWM means you're ready for the next step(s).
Add
Code:
moused_enable="YES"
to /etc/rc.conf and start your mouse daemon with # /etc/rc.d/moused start and you're most probably good to go. Don't even try HAL!

You may also need this in your /etc/xorg.conf:
Code:
Section "ServerFlags"
[...]
    Option "AutoAddDevices" "FALSE"
[...]
EndSection

And BTW, WindowMaker is a window manager, rather than a complete desktop environment like GNOME, KDE, Xfce, etc.
 
oh man... now I'm in trouble...listen:
First I had Windows (C: partition - 39GB)
The D: disk was free.
Then I installed FreeBSD with its
Boot Mgr! (took whole D: disk - 31GB)
after that i started asking whole those questions.
And today I decided to format Windows and Install it again because i had some troubles with it.
So I booted WinXP SP2 formatted C: (withou touching disk D: or FREEBSD!!)
and installed WinXP on C.
After finishing when i restart computer I don't have options to choose between operating systems at all?!?!?
It only boots Windows
HELP...
 
That's normal, the Windows setup overwrote the MBR code.

You could try # boot0cfg -B adx from a livefs to get the menu back. I think you may also restore it in sysinstall from the install disk (disc1).
 
oh thank god.
But is there any solution that doesn't require CD because it is currently at my friend :(
And I am not that patient.
Any other soulutions ???
tnx
 
GREAT I have succesfully configured Xorg and now I have working keyboard and mouse, and using WindowMaker. it is GREAT and so FAST
tnx all for helping
i have few more questions.
1.how to change my keyboard layout, I want it to be by the croatian standards, and it really becomes annoying when i type <y> and it shows <z>
2.is there good file manager for windowmaker
 
hello new same problem again !
I had to reinstall freebsd for some reasons, i installed it and done every step that zare wrote on page before so when i run "dhclient re0"
command (re0 is my interface) it gives me some discovers in intervals and fails.
Modem is in routing mode and on other OS internet is working.
HELP HELP HELP
 
Back
Top