Showing posts with label Gutsy Gibbon. Show all posts
Showing posts with label Gutsy Gibbon. Show all posts

Printer Configuration on Ubuntu Gutsy (7.10) and Hardy (8.04)


  1. .On the Start Menu, choose Administration → Printing to display the dialog box as below. Then click the New Printer button
  2. Select the option Windows Printer Via Samba. Then click Browse to display a list of printer sharing in the
  3. Note the picture below, the display shows the printer disharing-printer on the network using samba. Then select the printer you want to use.
  4. Make sure you know the type of printer driver and you want to use it. Then select the type of start and printer drivers available in the list
  5. Note the picture below shows the printer has been successfully entered. Then click Print Test Page button to try to print, or click the Make Default to make as the default printer

Configuring samba sharing printer

We can make Ubuntu as a server sharing the printer. Configuration process must be done as user root. open the terminal.

Start Menu -> Accesories -> Terminal
Next login as root, and type the command:


$ gedit /etc/samba/smb.conf

Some lines must be edited is;


  1. In the authentication, security add a security = share
  2. In the authentication, encrypt passwords = true
  3. In the authentication, guest account = nobody
  4. In the printing, load printers = yes
  5. In the printing, printing = cups
  6. In the printing, printcap name = cups
  7. On the share definition, tag printers, browseable = yes
  8. On the share definition, tag printers, public = yes


You can enter some additional configuration to make sure samba is running smoothly, as follows;


  • In the networking, the interface is filled with the engine at that time
  • At the global - browsing identification, give a new value called NetBIOS name with the desired name. Most easily, the user name of the machine

Save and restart the samba service using the command:

$ /etc/init.d/samba restart


This is example configuration file samba server that has been modified :


#====================== Global Settings =======================
[global]
workgroup = MSHOME
netbios name = MUSTOFA-TU
server string = %h server (Samba, Ubuntu)
dns proxy = no
interfaces = 10.3.100.200/16 eth0
log file = /var/log/samba/log.%m

max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = share
passdb backend = tdbsam
obey pam restrictions = yes
guest account = nobody
invalid users = root

passwd program = /usr/bin/passwd %u
passwd chat = *EntersnewsUNIXspassword:* %nn *RetypesnewsUNIXspassword:* %nn
*passwordsupdatedssuccessfully* .
load printers = yes

printing = cups
printcap name = cups
socket options = TCP_NODELAY
[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
public = yes
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no


Bonus :

Printer Configuration Ubuntu 7.04



  1. On the Start Menu, choose Administration → Printing. Then click the New Printer icon
  2. At Step 1, select Network Printer option with Windows Printer (SMB). Wait some time, the system will try to detect the printer on-shared
  3. Next view some of the printer is detected, click cancel pendeteksian process continues until the printer is finished. The name that appears under the name of the server hostname in printer sharing
  4. following list of hostnames that do printer sharing. Select a course in accordance with their needs. Be sure to identify the type of printer and the drivers that will be used. Do not forget to choose a printer that disharing. Then click Forward. (Username and password are blank)
  5. the next step, select the printer driver used. Then the printer is ready to use.
Finish....!!


Happy Testing....!!!
Read More...!!

Recovery Ubuntu For Default Setting

Reset user settings (all linux distro)


1. Login As Root on the terminal with the command

$sudo su

2. Change Direktory you go to the home direktory
3. Delete all Direktory the tesembunyi in these direktory
with by type :

$ rm-drf .*

4. Reboot your Computer with the command

$ reboot

Happy Testing


Thanks
Read More...!!

Hide Volume Drive On The Desktop In Ubuntu

To Hide Drive on your Dektop simply typing the following command:

$ gconf-editor

On gconf-editor, Go to

/apps/nautilus/desktop/volumes_visible

Clear checklist on volumes_visibel

Happy Testing...!!
Read More...!!

Change Splash Screen Color Ubuntu

When we login to the ubuntu. Default color splash screen/background Orange color in accordance with ubuntu To change the splash screen/background on windows Login Simply use the command: After the show interface text editor Then find the script below


$ sudo gedit/etc/gdm/gdm.conf
Find this line
----------------------------
BackgroundColor=#dab082
GraphicalThemedColor=#dab082
----------------------------

Default splash screen is like the above for you to change them into black Living Changing the script above with:

----------------------------
BackgroundColor=#000000
GraphicalThemedColor=#000000
----------------------------

The result for the Press Ctrl+Alt+Backspace to Logout. Then Log Back Using your users and Happy Testing...!!

Thanks
Read More...!!

Install Modem ZTE MF620 IM2 Unlimited On ubuntu 7.10, 8.04 and 8.10

Download Package usb_modeswitch-0.9.4.tar.bz2 from


$ wget http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-0.9.4.tar.bz2


Then extract and install


$ tar jxvf usb_modeswitch-0.9.4.tar.bz2
$ cd usb_modeswitch-0.9.4.tar.bz2
$ sudo cp usb_modeswitch /usr/sbin
$ sudo cp usb_modeswitch.conf /etc


Create new file 15-zte-mf620.rules with command :

$ sudo gedit /etc/udev/rules.d/15-zte-mf620.rules

#--------------------------------------------------
ACTION!="add", GOTO="ZTE_End"

# Is this the ZeroCD device?
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"

# Is this the actual modem?
SUBSYSTEM=="usb", SYSFS{idProduct}=="0001",
SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"


LABEL="ZTE_ZeroCD"

# This is the ZeroCD part of the card, remove
# the usb_storage kernel module so
# it does not get treated like a storage device
RUN+="/usr/sbin/usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 -V 0x19d2 -P 0x0001"


LABEL="ZTE_Modem"

# This is the Modem part of the card, let's
# load usbserial with the correct vendor
# and product ID's so we get our usb serial devices
RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0001",

# Make users belonging to the dialout group
# able to use the usb serial devices.
MODE="660", GROUP="dialout"


LABEL="ZTE_End"
#-------------------- eof ---------------

Connections for Using wvdial type the command:

$ sudo gedit/etc/wvdial.conf


[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 3600000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","indosatm2"
Area Code =
Phone = *99#
Username = username_anda
Password = password_anda
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

to connect to the internet directly use the command:

$ wvdial

Then wait, if not connected repeat the above step until the correct

Thanks
Read More...!!

Enable Desktop Effect On VGA Intel on Ubuntu 7.10

Basically the blacklist intel vga compiz by typing the command to find out the terminal
$ lspci -v | grep VGA

VGA intel 965 di blacklist by compiz edit the file on directory /etc/XII/xorg.conf type the command in teminal

$ gedit /etc/XII/xorg.conf

section "device"
Identify "intel corporation mobile GM965/GL960"
integrated graphics controller"
Driver "intel"
Endsection

if still VESA, type the command in teminal

$ sudo nano /usr/bin/compiz

Follow


........................

# blacklist based on the pci ids
# see http://wiki.compiz-fusion.org/Hardware/Blacklist for details
T=" 1002:5954 1002:5854 1002:5955 # ati rs480
T="$T 1002:4153" # ATI Rv350
#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a12" #intel 965
T="$T 8086:2972" #i965 (x3000)
T="$T 1002:3152 1002:3150 1002:5462 1002:5653" # ati x300 x600,x600 x700
BLACKLIST_PCIIDS="$T"
unset T

........................

Give sign # in front of the line blacklist like above. store the results of your editing, then restart your computerafter finished, right-click on the desktop.

>change desktop background >visual style > select the effect you want.
Read More...!!